Charliezkie

Arsenal Auto Collect Tix

Jul 3rd, 2019
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local owner = game:GetService("Players").LocalPlayer
  2. local ticket = "Summer Bash!"
  3. local deb = game.Workspace.Debris
  4. function  movealltickets()
  5. local h = deb:GetDescendants()
  6. for index, g in pairs(h) do
  7. if g.Name == ticket then
  8.     g.CFrame = owner.Character.HumanoidRootPart.CFrame
  9.     wait()
  10. elseif g.Name ~= ticket then
  11. end
  12. end
  13. end
  14.  
  15. while wait() do
  16. movealltickets()
  17. end
Add Comment
Please, Sign In to add comment