Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local TeleportService = game:GetService("TeleportService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local LocalPlayer = Players.LocalPlayer
- local ServerType = ReplicatedStorage:WaitForChild("GetServerType"):InvokeServer()
- if ServerType == "VIPServer" then
- TeleportService:Teleport(game.PlaceId, LocalPlayer)
- else
- TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
- end
Advertisement
Add Comment
Please, Sign In to add comment