Hello i am trying to make a if statement for formatting the gui slot but it dosent show up.
Code:
if {_rankuptrue} is true:
format gui slot 25 of player with active_redstone_lamp named "Rankup" with lore "Du kan godt ranke up" to close
wait 1 tick
if {_rankuptrue} is false:
format gui slot 25 of player with redstone_lamp named "Rankup" with lore "Du kan ikke ranke up" to close