GOD_YT

SKYWARS Ore Autofarm

Nov 3rd, 2020 (edited)
3,492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. local cpos = Player.Character.HumanoidRootPart.CFrame
  3. local stuff = workspace:getDescendants()
  4.  
  5. for i = 1, #stuff do
  6. if stuff[i].Name == "Block" and stuff[i].Parent.Name == "Ores" then
  7. repeat
  8. wait()
  9. Player.Character.HumanoidRootPart.CFrame = stuff[i].CFrame
  10. Player.Character.Axe.RemoteEvent:FireServer(stuff[i])
  11. until stuff[i].Name ~= "Block" or not Player.Character:FindFirstChild("Axe")
  12. end
  13. end
  14.  
  15. Player.Character.HumanoidRootPart.CFrame = cpos
  16.  
  17. -- Game Link: https://www.roblox.com/games/855499080/SKYWARS
  18. -- Wait until the round start, grab your pickaxe and execute this.
Add Comment
Please, Sign In to add comment