Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local client = game.Players.LocalPlayer
- workspace.ChildAdded:Connect(function(v)
- wait(0.2)
- local touch = v:FindFirstChild("TouchInterest", true)
- if touch and not touch.Parent:FindFirstChild"GameID" and touch.Parent:FindFirstChild"BadgeID" then
- firetouchinterest(client.Character.HumanoidRootPart, touch.Parent, 0)
- firetouchinterest(client.Character.HumanoidRootPart, touch.Parent, 1)
- end
- end)
- for i, v in next, workspace:GetChildren() do
- local touch = v:FindFirstChild("TouchInterest", true)
- if touch and not touch.Parent:FindFirstChild"GameID" and touch.Parent:FindFirstChild"BadgeID" then
- firetouchinterest(client.Character.HumanoidRootPart, touch.Parent, 0)
- firetouchinterest(client.Character.HumanoidRootPart, touch.Parent, 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement