Hello. I have a Problem i want to make a Rainbow wool that is on your head and this is the code
if arg 1 is "White woole":
equip player with White wool
send "&cR&6e&eg&2e&3n&1b&5o&cg&6e&en &2W&3o&1l&5l&ce &7gewählt"
wait 10 tick
loop 10000000000000000000000 times:
equip palyer with 35:1
wait 10 tick
equip player with 35:5
wait 10 tick
equip player with 35:4
wait 10 tick
equip player with 35:3
wait 10 tick
equip player with 35:2
wait 10 tick
equip player with 35:9
wait 10 tick
equip player with 35:
my problem now is i want to make more hats but everytime i equip the other hat the rainbow wool comes because of the loop how can i cancel the loop by executing an other command like if i equip the Wool and then an other hat the loop stops. thanks for your help
if arg 1 is "White woole":
equip player with White wool
send "&cR&6e&eg&2e&3n&1b&5o&cg&6e&en &2W&3o&1l&5l&ce &7gewählt"
wait 10 tick
loop 10000000000000000000000 times:
equip palyer with 35:1
wait 10 tick
equip player with 35:5
wait 10 tick
equip player with 35:4
wait 10 tick
equip player with 35:3
wait 10 tick
equip player with 35:2
wait 10 tick
equip player with 35:9
wait 10 tick
equip player with 35:
my problem now is i want to make more hats but everytime i equip the other hat the rainbow wool comes because of the loop how can i cancel the loop by executing an other command like if i equip the Wool and then an other hat the loop stops. thanks for your help