My code returns no errors and does everything its supposed to besides teleporting the looped player.
if {_airblocks} is greater than 666:
delete {_airblocks}
resetbox({_l11}, {_l12}, {_l13}, {_l21}, {_l22}, {_l23}, {_m1}, {_m2}, {_m3}, {_m4})
loop players within {_pos1} and {_pos2}:
teleport loop-player to location(0.5, -1, -17.5, "wishfulbox", -180, 0)
Here is the full code:
I'm running the latest version of SkriptLang with no add-ons