Advertisement
Cizzy

Untitled

Mar 13th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. -- Variables
  2. local player = game.Players.LocalPlayer
  3. local rs = game:GetService("RunService")
  4. local stuff = {}
  5.  
  6. -- Grab Collectibles
  7. local shit = workspace:GetDescendants()
  8. for i = 1, #shit do local v = shit[i]
  9. if v.Name == "Base" and v:FindFirstChildOfClass("TouchTransmitter") then
  10. table.insert(stuff,v)
  11. end
  12. end
  13.  
  14. -- STOP BLINDING ME
  15. player.PlayerGui.ChildAdded:Connect(function(v)
  16. rs.RenderStepped:wait()
  17. if v.Name == "ScreenGui" then
  18. v:Destroy()
  19. end
  20. end)
  21.  
  22. -- Collect
  23. while true do
  24. for i = 1, #stuff do local v = stuff[i]
  25. if v.Transparency == 0 then
  26. pcall(function()
  27. firetouchinterest(player.Character.HumanoidRootPart,v,0)
  28. firetouchinterest(player.Character.HumanoidRootPart,v,1)
  29. end)
  30. end
  31. end
  32. wait()
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement