Solved How to check if player is below Y=something

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

JindrysCZ

Member
May 16, 2021
2
0
1
23
Hi, i have problem with my code. I wanna check if player is under Y = 59

My code looks like that:

on any movement:
if player's location is location(*, 59, *, world "FastBuilder-1"):
set {blocks.placed::%uuid of player%} to 0

But the error is:
[10:12:31 ERROR]: can't understand this event: 'on any movement' (blockcount.sk, line 1: on any movement:')

and i'm not quite sure if * 59 * checks for only Y level 59.

addons using: Skellett, skQuery and skRayFall
 
Status
Not open for further replies.