Keimu

World Of Trollge | Auto-Farm

Apr 2nd, 2023
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local TweenService = game:GetService("TweenService")
  2.  
  3. while true do
  4. task.wait()
  5. for _, tool in pairs(workspace:GetDescendants()) do
  6. if tool:IsA("Tool") then
  7. local success, result = pcall(function()
  8. local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Linear)
  9. local tween = TweenService:Create(game.Players.LocalPlayer.Character.HumanoidRootPart, tweenInfo, {CFrame = tool.Handle.CFrame})
  10. tween:Play()
  11. end)
  12. if not success then
  13. warn(result)
  14. end
  15. wait(1)
  16. end
  17. end
  18. end
Add Comment
Please, Sign In to add comment