Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 125
- local Closest
- local Distance = 10000
- _G.Enabled = true
- while _G.Enabled == true do
- for i,v in pairs(game:GetService("Workspace").Pickups:GetChildren()) do
- if v:IsA("MeshPart") and v.Name == "Part" and v.BrickColor.Name == "Deep orange" then
- if v.Position.Y <= game.Players.LocalPlayer.Character:WaitForChild("Head").Position.Y then
- local newDistance = (v.Position).magnitude
- if newDistance < Distance then
- game.Players.LocalPlayer.Character.Humanoid:MoveTo(tostring(v.CFrame))
- end
- end
- end
- end
- wait()
- end
Add Comment
Please, Sign In to add comment