Advertisement
x_zstd

SIlly simulator auto respawn

Jul 11th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. while true do
  2. wait(0.1)
  3. local character = game.Players.LocalPlayer.Character
  4. if not character then
  5. continue
  6. end
  7. local humanoid = character:FindFirstChildOfClass("Humanoid")
  8. if not humanoid then
  9. continue
  10. end
  11. local rootPart = character:FindFirstChild("HumanoidRootPart")
  12. if not rootPart then
  13. continue
  14. end
  15. local currentPosition = rootPart.Position
  16. if currentPosition.Y <= -70 then
  17. rootPart.CFrame = CFrame.new(Vector3.new(97, -88, 1))
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement