I have this server script in ServerScriptService and I tried in regular Roblox but it doesn't send me anywhere when I run the game but it prints "Running" once
while true do print("Running") local TS = game:GetService("TeleportService") local Players = game:GetService("Players") local code = TS:ReserveServer(8357468682) local players = Players:GetPlayers() TS:TeleportToPrivateServer(8357468682,code,players) end
The script most likely broke. Roblox studio crashes when you dont put a wait() in a while true do.~~~~~~~~~~~~~~~~~
while true do print("Running") wait() local TS = game:GetService("TeleportService") local Players = game:GetService("Players") local code = TS:ReserveServer(8357468682) local players = Players:GetPlayers() TS:TeleportToPrivateServer(8357468682,code,players) end
~~~~~~~~~~~~~~~~~