MaxproGlitcher

Re connections au server priver

Feb 17th, 2026
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. local Players = game:GetService("Players")
  3. local TeleportService = game:GetService("TeleportService")
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5.  
  6. local LocalPlayer = Players.LocalPlayer
  7. local ServerType = ReplicatedStorage:WaitForChild("GetServerType"):InvokeServer()
  8.  
  9. if ServerType == "VIPServer" then
  10. TeleportService:Teleport(game.PlaceId, LocalPlayer)
  11. else
  12. TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment