Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a specific group of people teleport to another place and in private server?

Asked by 5 years ago

I tried to make a game like "Camping" by SamsonXVI. But the teleport doesn't work. Please help.

My current script:

script.Parent.Touched:Connect(function(Hit)
    local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
    if Player ~= nil then
        if ono == true then
            ono = false
            Code = Service:ReserveServer(Place)
            wait(20)
            ono = true
        end
        Service:TeleportToPrivateServer(Place, Code, Player)
    end
end)

Yeah, It's all a mess.

0
Any error? mixgingengerina10 223 — 5y
0
Uhh, Everything? FixRobloxz 61 — 5y

Answer this question