Сontent continues after AD

Сontent continues after AD

Сontent continues after AD

Script – Pirate Legacy

Thank you for using our website
Your script:

				
					local plr = game.Players.LocalPlayer
local lastPos = plr.Character.PrimaryPart.CFrame

plr.Character:SetPrimaryPartCFrame(game.ReplicatedStorage.ViewportNPCs.Titan.PrimaryPart.CFrame * CFrame.new(0,10,0))

while task.wait() do
pcall(function()
for i, v in pairs(workspace.ReplicatedChunks:GetDescendants()) do
if v.Name == "Commando" or v.Name == "Captain Smoke" then
local enemy = v
lastPos = enemy.PrimaryPart.CFrame
repeat task.wait()
local char = plr.Character

char:SetPrimaryPartCFrame(enemy.PrimaryPart.CFrame * CFrame.new(0,-10,0))
local args = {
   [1] = game:GetService("Players").LocalPlayer.Character.Punch,
   [2] = enemy
}

game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Melee"):FireServer(unpack(args))

until enemy.Humanoid.Health <=0 or not enemy
end
end
plr.Character:SetPrimaryPartCFrame(lastPos * CFrame.new(0,10,0))
end)
end
				
			

if the script does not work, try other scripts on our website