Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(wait(0.5)) do
- for i,v in pairs(game.Players:GetChildren()) do
- local player = v
- if player ~= nil then
- local char = player.Character
- local rootpart = char:FindFirstChild("HumanoidRootPart")
- local xr = math.random(rootpart.Position.X, rootpart.Position.X + 25)
- local yr = math.random(rootpart.Position.Y, rootpart.Position.Y + 25)
- local zr = math.random(rootpart.Position.Z, rootpart.Position.Z + 25)
- rootpart.CFrame = CFrame.new(Vector3.new(xr, yr, zr))
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement