Adel987654321

Alien Simulator | Auto Farm

Feb 13th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. on = 1
  2. function code()
  3. local plrN = game.Players.LocalPlayer.Name
  4. local E = game.Workspace.Entity:FindFirstChild("HumanoidRootPart",true)
  5. if on == 1 and E ~= nil then
  6. local Collector = game.Workspace[plrN].UFO.Collider
  7. Collector.CFrame = E.CFrame
  8. else
  9. wait()
  10. end
  11. end
  12. while wait() do
  13. local good,bad = pcall(code)
  14. if good then
  15. code()
  16. else
  17. wait()
  18. end
  19. end
Add Comment
Please, Sign In to add comment