Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://www.roblox.com/games/6104994594/Pilfering-Pirates
- -- if you wanna stop it, execute another tab this code: getgenv().autokillstop = true
- print("loading")
- getgenv().autokillstop = false
- local localplr = game.Players.LocalPlayer
- while true do
- if getgenv().autokillstop == true then
- return
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- if getgenv().autokillstop == true then
- return
- end
- if v.Team ~= localplr.Team and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then
- print(v.Name)
- repeat
- wait(.05)
- if getgenv().autokillstop == true then
- return
- end
- if v.Character and v.Character:FindFirstChild("HumanoidRootPart") and localplr.Character and localplr.Character:FindFirstChild("Humanoid") and localplr.Character:FindFirstChild("Sword") then
- localplr.Character:PivotTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0,math.random(-1,1),2))
- wait(.05)
- elseif v.Character and v.Character:FindFirstChild("HumanoidRootPart") and localplr.Character and localplr.Character:FindFirstChild("Humanoid") and not localplr.Character:FindFirstChild("Sword") and localplr.Backpack:FindFirstChild("Sword") then
- game:GetService("ReplicatedStorage").Remotes.EquipTool:FireServer(localplr.Backpack.Sword)
- wait(.5)
- end
- until not v.Character:FindFirstChild("HumanoidRootPart") or v.Character.Humanoid.Health <= 0 or v.Team == localplr.Team
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement