Item Purchased > Trigger
Blockcode:
Set Property
Value +1
if Get Property “endurancelevel” = 1
do Broadcast Message On Channel “increase_iim_energylimit”
Set Property
Value +1
else if Get Property “endurancelevel” = 2
do Broadcast Message On Channel “increase_iim_energy_limit”
idk if this’ll work, every time a player buys from the endurance vending machine their endurance level goes up by one and increases their energy limit by five thousand.
(I’d assume you already have the overlay that tracks your energy)