so i have 18 vehicle spawns and other buttons. each of the buttons changes the type of bot. what i want to do is that every time i hit a button, all of the buttons disappear until all of the bots are dead.
on the spawn bricks i have these events
onbotspawn > self > modvariable > minigame > alive > set > 0
onbotkilled > self > modvariable > minigame > alive > add > 1
onvariableupdate > self > ifvariable > [<var:minigame:alive>] >= [18] 5 5
onvariabletrue > named brick: buttons > setproperties > [X] [X] [X]
and on the buttons:
(bot events go here)
onactivate > named brick: buttons > setproperties > [ ] [ ] [ ]
ive tried many things but the buttons won't appear again.