SHARE
TWEET

autofarm

SirMeme Apr 13th, 2019 6,983 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _G.attack = true
  2. --_G.attack = false
  3. local NPC = "Sand Crab"
  4.  
  5. local Players = game:GetService("Players")
  6. local me = game.Players.LocalPlayer
  7. while _G.attack do
  8.   for _,v in pairs(game.Workspace.Live:GetDescendants()) do
  9.   if string.find(v.Name, NPC) and v:FindFirstChild("HumanoidRootPart") then
  10. me.Backpack.Input:FireServer("m1")
  11. me.Backpack.Input:FireServer("rnu")
  12. me.Backpack.Input:FireServer("hit", { v })
  13. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(0, 5, 0)
  14.   end
  15.   end
  16.   wait()
  17. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top