I have a GUI that I want to change the properties of when someone uses it in a VIP server. Any suggestions?
1 | if game.VIPServerOwnerId ~ = 0 then |
2 | print ( "VIP server" ) |
3 | elseif game.VIPServerId ~ = "" then |
4 | print ( "Reserved server" ) |
5 | else |
6 | print ( "Public server" ) -- "public" includes "Friend only" places |
7 | end |
VIPServerOwnerId or VIPServerId
If they are nil then it is not a vip server.