Advertisement
SirMeme

yesssssssssss

May 7th, 2019
1,455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.06 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. farmEnabled = true --Turn this to false and execute again to go back to ground
  3. --autoPunch = true -- broken
  4.  
  5. if farmEnabled == true then
  6. for i,v in pairs(game.Workspace:GetChildren()) do
  7. local newaPart = Instance.new("Part")
  8. newaPart.CFrame = game.Workspace[player.Name].HumanoidRootPart.CFrame + Vector3.new(0,15,0)
  9. newaPart.Size = Vector3.new(100,100,100)
  10. game.Workspace[player.Name].HumanoidRootPart.CFrame = newaPart.CFrame
  11. newaPart.Anchored = true
  12. game.Workspace[player.Name].HumanoidRootPart.Anchored = true
  13. newaPart.Transparency = 1
  14. --[[if autoPunch == true then
  15. while autoPunch == true do
  16. game.ReplicatedStorage.Remotes.Damage:FireServer("Fists", "dmg_p2") --broken
  17. end
  18. end
  19. ]]
  20. end
  21. end
  22.  
  23. if farmEnabled == false then
  24. for i,v in pairs(game.Players:GetChildren()) do
  25. game.Workspace[player.Name].HumanoidRootPart.Anchored = false
  26. game.Workspace[player.Name].HumanoidRootPart.CFrame = game.Workspace[v.Name].HumanoidRootPart.CFrame
  27. print("Teleported HRP to "..v.Name..". This user has a set number of "..i)
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement