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 Sprinting

Discussion in 'Skript' started by Flajakay, Nov 6, 2018.

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

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    When player sprinting, he will get some messages every five seconds.
    How can I do it?
     
  2. Nightmarinya

    Nightmarinya Member

    Joined:
    Oct 2, 2018
    Messages:
    31
    Likes Received:
    4
    Code (Skript):
    1.  
    2. on any movement:
    3.     event-entity is player:
    4.         if event-entity is sprinting:
    5.             # Your code here #
    6.  
    This is the code for being able to recognize if a player is sprinting or not.
    Working on trying to make a more specific bit code for you on this, if you don't figure it out in the meantime.

    Update:

    I couldn't figure out a way of making it work without it breaking for some reason.
    I hope the code above showing you how to detect if a player is sprinting or not is helpful though.
     
    #2 Nightmarinya, Nov 6, 2018
    Last edited: Nov 6, 2018
    • Like Like x 1
    • Useful Useful x 1
  3. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
Thread Status:
Not open for further replies.

Share This Page

Loading...