get paid to paste

Pirate Legacy Script | AUTO FARM – 1ST MAY 2023

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

plr.Character:SetPrimaryPartCFrame(game.ReplicatedStorage.ViewportNPCs.Titan.PrimaryPart.CFrame) -- simply teleports you to the Titan NPC on the last island... you can also remote this cuz why not

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 -- The enemies that you are going to farm, you can remove or add more
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.Katana, -- the tool you are attacking with
   [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

Pasted: May 4, 2023, 12:40:13 am
Views: 42