#Vip servers & TeleportService

1 messages · Page 1 of 1 (latest)

tepid trout
#

How do i can make teleportService teleport guys who have their own vip server, teleport from vip server to vip server?

#

i mean for example

#

if player has it own server

#

and he plays on

#

he will be teleported to map also on private server

#

is it even possible?

waxen harbor
silver obsidian
#

I think i get what you mean

#

I think there is actually a way to do that

#

ill have to check documentation

#

I think a method of doing this is using the ShouldReserveServer option when you teleport a player to the subplace within your game

#

specifically only do it when you detect that they're in a vip server

#

do you mind showing your code so I can try showing you an example?

tepid trout
#

a sec

#

local TeleportService = game:GetService("TeleportService")
local placeId = 88529690309819
local snd = script.Parent.Parent.Parent.Parent.Snd
local button = script.Parent
button.MouseButton1Click:Connect(function()
script.Parent.TextLabel.Text = ("loading...")
snd:Play()
local player = game.Players.LocalPlayer
TeleportService:Teleport(placeId, player)
end)