When using TeleportService:ReserveServer() and setting a variable to that, can I use that code again later on? For example, can a player have their own reserved server that has the same code even after leaving it that can be used in the future?
Code example:
local Code = TeleportService:ReserveServer(game.PlaceId)
--Save this code to a datastore to use later
local Success, Error
repeat
Success, Error = pcall(function()
SavedReservedServer:SetAsync(player.UserId, Code)
end)
if not Success then
warn(Error)
task.wait(5)
end
until Success
--Then do GetAsync() next time to retrieve the reserved server code