I have a GUI that I want to change the properties of when someone uses it in a VIP server. Any suggestions?
✓ ANSWER ACCEPTED
How do I check whether the server is a VIP server or not?
2 answers
✓ Accepted answer
if game.VIPServerOwnerId ~= 0 then
print("VIP server")
elseif game.VIPServerId ~= "" then
print("Reserved server")
else
print("Public server") -- "public" includes "Friend only" places
end
3 comments
0
Do I have to change any values inside of this script?
0
Well basically instead of the "print" commands you would have your own code for your gui
1
Thanks.
VIPServerOwnerId or VIPServerId
If they are nil then it is not a vip server.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://devforum.roblox.com/t/how-to-check-if-a-server-is-a-vip-server/90409