Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local player = game.Players.LocalPlayer
- local rs = game:GetService("RunService")
- local stuff = {}
- -- Grab Collectibles
- local shit = workspace:GetDescendants()
- for i = 1, #shit do local v = shit[i]
- if v.Name == "Base" and v:FindFirstChildOfClass("TouchTransmitter") then
- table.insert(stuff,v)
- end
- end
- -- STOP BLINDING ME
- player.PlayerGui.ChildAdded:Connect(function(v)
- rs.RenderStepped:wait()
- if v.Name == "ScreenGui" then
- v:Destroy()
- end
- end)
- -- Collect
- while true do
- for i = 1, #stuff do local v = stuff[i]
- if v.Transparency == 0 then
- pcall(function()
- firetouchinterest(player.Character.HumanoidRootPart,v,0)
- firetouchinterest(player.Character.HumanoidRootPart,v,1)
- end)
- end
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement