MaxproGlitcher

Pour rejoint un servers au hasard

Sep 6th, 2024
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1.  
  2. local Players = game:GetService("Players")
  3. local TeleportService = game:GetService("TeleportService")
  4.  
  5. -- Function to hop to a new server
  6. local function hopToNewServer()
  7. local placeId = game.PlaceId
  8. local teleportService = game:GetService("TeleportService")
  9.  
  10. -- Get the current player's user ID
  11. local player = Players.LocalPlayer
  12. local userId = player.UserId
  13.  
  14. -- Create a new teleport request to the same place
  15. -- This will teleport the player to a new server
  16. teleportService:Teleport(placeId, player)
  17. end
  18.  
  19. -- Execute the server hop
  20. hopToNewServer()
  21.  
Advertisement
Add Comment
Please, Sign In to add comment