Im trying to check if a player is in the region that im setting blocks. The block setting works but the other block of code doesn't work? Im not sure why.
Code:
loop blocks within {position1.%{_m}%} and {position2.%{_m}%}:
set {_newblock} to random element of {_comp::*}
set loop-block to {_newblock} parsed as item
create a new bound with id "%{_m}%" between {position1.%{_m}%} and {position2.%{_m}%}
loop all players:
if loop-player is within bound {_m}:
teleport loop-player to {position1.%{_m}%}