loop all blocks in radius 2 around event-block:
add loop-block to {_break::*}
set {_total} to {_total} + 1
set data value of {_break::%{_total}%} to 1
if {farmable::crops::*} contains loop-block:
send "&c%{_total}% &b%{_break::%{_total}%}%"
if {telekinesisEnchant::%player's uuid%} is 1:
give player drops of block using the tool
if {replantEnchant::%player's uuid%} is 1:
set loop-block to {_break::%{_total}%}
else:
set loop-block to air
else:
break loop-block naturally using player's tool
if {replantEnchant::%player's uuid%} is 1:
set loop-block to {_break::%{_total}%}
``` Here is my full skript, if someone can assist me with this i'd appreciate it
#Replant using loop isn't working as intended
1 messages · Page 1 of 1 (latest)