1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved cancel jump

Discussion in 'Skript' started by AlfaLe0, Mar 8, 2018.

Thread Status:
Not open for further replies.
  1. AlfaLe0

    AlfaLe0 Member

    Joined:
    Mar 2, 2018
    Messages:
    25
    Likes Received:
    0
    i want set that a player can't jump
    like a condition...
    if player jump:
    push player down with speed 2

    can someone help me?

     
  2. Best Answer:
    Post #6 by TPGamesNL, Mar 8, 2018
  3. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
  4. AlfaLe0

    AlfaLe0 Member

    Joined:
    Mar 2, 2018
    Messages:
    25
    Likes Received:
    0
  5. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Depends on which you want, so that's WildSkript or SkMorkaz
     
  6. AlfaLe0

    AlfaLe0 Member

    Joined:
    Mar 2, 2018
    Messages:
    25
    Likes Received:
    0
    Code (Skript):
    1. on step on ender_portal_frame:
    2.   block below player is ender_portal_frame:
    3.     if {power::%player%} is greater or equal to 10:
    4.       if {oxigen.%player%} is less than 10:
    5.         on player jump: #i need something here
    6.           cancel event
     
  7. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Something like this i guess
    Code (Skript):
    1. on player jump: #i need something here
    2.     block below player is ender_portal_frame:
    3.         if {power::%player%} is greater or equal to 10:
    4.             if {oxigen.%player%} is less than 10:
    5.                 cancel event
     
    • Winner Winner x 1
  8. AlfaLe0

    AlfaLe0 Member

    Joined:
    Mar 2, 2018
    Messages:
    25
    Likes Received:
    0
    oh yes
     
Thread Status:
Not open for further replies.

Share This Page

Loading...