Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
- function CollectTicket(ticket)
- if firetouchinterest then
- firetouchinterest(hrp, ticket, 0)
- wait()
- firetouchinterest(hrp, ticket, 1)
- else
- ticket.CFrame = hrp.CFrame
- end
- end
- local Tab = workspace.Debris:GetChildren()
- for Index = 1, #Tab do
- local obj = Tab[Index]
- if obj.Name == "Summer Bash!" then
- CollectTicket(obj)
- end
- end
- workspace.Debris.ChildAdded:Connect(function(instance)
- if instance.Name == "Summer Bash!" then
- CollectTicket(instance)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement