How can I check if a server is a private server or not?
1 Like
if game.PrivateServerId ~= "" and game.PrivateServerOwnerId ~= 0 then
print('private server')
end
12 Likes
Got this from this
local function getServerType()
if game.PrivateServerId ~= "" then
if game.PrivateServerOwnerId ~= 0 then
return "VIPServer"
else
return "ReservedServer"
end
else
return "StandardServer"
end
end
9 Likes
Thank you guys for showing me the answer. Already working on the Private Server Settings!
2 Likes