There is a lot of code but it all works up to the point where I teleport the players. Nothing happens and there are no errors i checked the console.
In a script in serverscriptservices
local event = Instance.new("RemoteEvent") event.Parent = game.Workspace event.Name = "SendPlayersToGame" local TS = game:GetService("TeleportService") event.OnServerEvent:connect(function(PlaceID,Code,Players) TS:TeleportToPrivateServer(PlaceID,Code,Players) end)
In a local Script
game.Workspace.SendPlayersToGame:FireServer(392078814,code,Players)