Event_setInvincible does the same thing and works for the player too. Also, why is there both setInvulnerability and toggleInvulnerability? There really only needs to be the one event that can toggle it on/off
toggle toggles it, set sets it. its important if you have a bunch of events applying to the same brick and want them to set the bot’s invulnerability regardless of its current state
ex: three bricks you can click, first two setting the bot to invulnerable and the third turning invulnerability off. you cant do that easily with toggle only, youd have to do some janky stuff with relays or printcounts.