Advertisement
Creepinson

crazy thing script

Jul 13th, 2018
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. while(wait(0.5)) do
  2. for i,v in pairs(game.Players:GetChildren()) do
  3. local player = v
  4. if player ~= nil then
  5. local char = player.Character
  6. local rootpart = char:FindFirstChild("HumanoidRootPart")
  7. local xr = math.random(rootpart.Position.X, rootpart.Position.X + 25)
  8. local yr = math.random(rootpart.Position.Y, rootpart.Position.Y + 25)
  9. local zr = math.random(rootpart.Position.Z, rootpart.Position.Z + 25)
  10. rootpart.CFrame = CFrame.new(Vector3.new(xr, yr, zr))
  11. end
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement