Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.ReplicatedStorage.NetworkRemoteEvent:FireServer("Teleport", "EventSpawn")
- wait(2)
- local LP = game.Players.LocalPlayer
- _G.AutoRainbows = true
- while _G.AutoRainbows do
- for i, v in pairs(game.Workspace.Pickups:GetChildren()) do
- if v:IsA("MeshPart") then
- local M = (LP.Character:WaitForChild("HumanoidRootPart").Position - v.Position).Magnitude
- if M > 3 and M < 50 then
- if not _G.AutoRainbows then return end
- local H = LP.Character:WaitForChild("Humanoid")
- H.WalkSpeed = 100
- H:MoveTo(tostring(v.CFrame))
- wait()
- end
- end
- end
- wait()
- end
Add Comment
Please, Sign In to add comment