Advertisement
sillen06

tickets arsenal

Jun 8th, 2019
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  2.  
  3. function CollectTicket(ticket)
  4. if firetouchinterest then
  5. firetouchinterest(hrp, ticket, 0)
  6. wait()
  7. firetouchinterest(hrp, ticket, 1)
  8. else
  9. ticket.CFrame = hrp.CFrame
  10. end
  11. end
  12.  
  13. local Tab = workspace.Debris:GetChildren()
  14. for Index = 1, #Tab do
  15. local obj = Tab[Index]
  16. if obj.Name == "Summer Bash!" then
  17. CollectTicket(obj)
  18. end
  19. end
  20.  
  21. workspace.Debris.ChildAdded:Connect(function(instance)
  22. if instance.Name == "Summer Bash!" then
  23. CollectTicket(instance)
  24. end
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement