Title says it
Other script:
if Player.UserId == game.PrivateServerOwnerId then print("true") else print("false") end Expected Result: true Actual Result: false
Reserve Script:
local Code = TeleportService:ReserveServer(4805466213) PostKey(Code, SentFrom) TeleportService:TeleportToPrivateServer(4805466213, Code, {SentFrom}, "", {string.gsub(Code, "lmG0eAQAAAA2", ""), GetServerSize(SentFrom)})
everyone forgets that a reserved server is technically a VIP server. VIPServerOwnerId is what I use for my WIP game and it works because its apart of a reserved server.
if player.UserId == game.VIPServerOwnerId then print("true") else print("false") end
There is nothing wrong with this script, your script to reserve the slot on the other hand is the issue, this script works. If you are trying to reserve the spot by setting the ID as the players user id then the script that does that isn't working.
if Player.UserId == game.PrivateServerOwnerId.Value then print("true") else print("false") end
Try that Please accept this answer if I helped!