in my skript i have it so whenever you break a certain block it increases a variable and sends a different action bar message until it gets to 3, then it goes back to 1 but i get stuck at 3 and i can't figure out why, can someone please explain why it isint working?
on break of chiseled nether bricks:
if {var} is equal to 1:
send action bar "test1" to player
set {var} to 2
if {var} is equal to 2:
send action bar "test2" to player
set {var} to 3
if {var} is equal to 3:
send action bar "test3" to player
set {var} to 1
else:
send action bar "test1" to player
set {var} to 2
on break of chiseled nether bricks:
if {var} is equal to 1:
send action bar "test1" to player
set {var} to 2
if {var} is equal to 2:
send action bar "test2" to player
set {var} to 3
if {var} is equal to 3:
send action bar "test3" to player
set {var} to 1
else:
send action bar "test1" to player
set {var} to 2