Advertisement
KennielCheats

Pet Sim X AutoCollect

Mar 4th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. local workspace = game:GetService("Workspace")
  2. local players = game:GetService("Players")
  3.  
  4. if not (workspace and workspace["__THINGS"] and workspace["__THINGS"].Orbs and players and players.LocalPlayer and players.LocalPlayer.Character and players.LocalPlayer.Character.HumanoidRootPart) then
  5. warn("Some objects or properties are nil or do not exist")
  6. return
  7. end
  8.  
  9. print("Script made by kenniel#1824 ik your gonna skid")
  10.  
  11. local playerRootPart = players.LocalPlayer.Character.HumanoidRootPart
  12.  
  13. while true do
  14. if not (players.LocalPlayer and players.LocalPlayer.Character and players.LocalPlayer.Character.HumanoidRootPart and workspace and workspace["__THINGS"] and workspace["__THINGS"].Orbs) then
  15. break
  16. end
  17.  
  18. for _, orb in pairs(workspace["__THINGS"].Orbs:GetChildren()) do
  19. orb.Position = playerRootPart.Position
  20. print("Orb name:", orb.Name)
  21. end
  22.  
  23. wait(0.1) -- Update positions every 0.1 seconds
  24. end
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement