What he heck, everytime I reload this skript there are no errors but then my server crashes/freezes?
forbiddenBlock: diamond_block
every 1 tick:
loop all chickens in world "s1spawn":
set {_blockUnderChicken} to block below loop-entity
if {_blockUnderChicken} is {@forbiddenBlock}:
set {_previousLoc} to location at x-coordinate of loop-entity, y-coordinate of loop-entity - 1, z-coordinate of loop-entity
teleport loop-entity to {_previousLoc}```