If player is at location or steps on block...

  • 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 community!

    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.

Flash

New Member
Jun 2, 2020
5
1
3
Hi, im trying to create a parkour system that if a player steps on a certain block or goes to a certain location it executes a command but idk how
 
Code:
on any movement:
    if block bellow player is %your block%:
        #do your stuff
I did not test this but it should work.
You can use "on walk" as well, but I think it won't detect the player if he won't move on the block.
It would look like this:
Code:
on walk on %your block%:
    #do your stuff
 
Code:
on any movement:
    if block bellow player is %your block%:
        #do your stuff
I did not test this but it should work.
You can use "on walk" as well, but I think it won't detect the player if he won't move on the block.
It would look like this:
Code:
on walk on %your block%:
    #do your stuff
let me test
 
Status
Not open for further replies.