How i do a vip shop to only show to vip players?

i want to know how to make an automatic vip player when the guy insert the tag in name, they get vip and a exclusive shop.

3 Likes

Copy the ‘open shop’ entity script in the player unit. In the new script, add an ‘if / else / then’ action to check if the player’s name has a specific string (for example, Vip) in their name.


Then, go in the Controls tab of the unit and add whatever keybind you want to open the shop.

3 Likes

script player join game
boolean
string contain string
if player name of last triggering player contain " Bry "
then do
change name of last triggering player = New player Bry Vip

script vip shop
if player name of last triggering player contain " Bry "
then do
open vip shop for last casting unit