#Skript freezing the server?

1 messages · Page 1 of 1 (latest)

grave loom
#

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}```
patent crystal
#

i think its bc of the every 1 tick

unreal flint
#

and also because you're murdering the parser with the x, y and z coord shit

digital heath
#

^
just use a vector offset of vector(0, -1, 0)

weak crest
#

yeah