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 4 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 — 4y
0
Uhh, Everything? FixRobloxz 61 — 4y

Answer this question