function ltw:state/7/state_enter scoreboard players set $state mem 0 gamemode creative @a