@TheGamer101 I’ve seen that you may be working on the TeleportService API. Is it possible to not force the player to have a character spawned in order to teleport?
I’m not sure exactly what the requirements are, but if I disable CharacterAutoLoads the player will never teleport.
I want this because in Demented Defense I have 100 player servers where people create lobbies. To spawn characters is just not-needed (it’s 100% GUI based) and causes a lot of stress. Spawning characters just before teleport adds to latency when starting matches, which I also don’t want.
If I remember correctly this is a bug left over from when you could call Teleport with a character instead of a player. I remember thinking about this a long time ago but I guess I didn’t fix it
game.Players.CharacterAutoLoads is false. I’m trying the following code on the server.
wait(10)
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local code = TS:ReserveServer(game.PlaceId)
local players = Players:GetPlayers()
TS:TeleportToPrivateServer(game.PlaceId, code, players)