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.

Speed 1 is the same than speed 4

Discussion in 'Skript' started by Wynandus, Nov 1, 2018.

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

    Wynandus Member

    Joined:
    Aug 23, 2017
    Messages:
    15
    Likes Received:
    0
    So basicly when i give myself a pickaxe with speed 1 it is completly as fast as a speed 4 pickaxe
    does anyone has a solution for this?


    Code (Skript):
    1. every 2 seconds in "main":
    2.     loop all players:
    3.         if lore of loop-player's tool contains "&7Haste I":
    4.             apply potion of haste of tier 1 to loop-player for 2 seconds
    5.             stop
    6.         if lore of loop-player's tool contains "&7Haste II":
    7.             apply potion of haste of tier 2 to loop-player for 2 seconds
    8.             stop
    9.         if lore of loop-player's tool contains "&7Haste III":
    10.             apply potion of speed of tier 3 to loop-player for 2 seconds
    11.             stop
    12.  
    13.         if lore of loop-player's tool contains "&7Speed I":
    14.             apply potion of speed of tier 1 to loop-player for 2 seconds
    15.             stop
    16.         if lore of loop-player's tool contains "&7Speed II":
    17.             apply potion of speed of tier 2 to loop-player for 2 seconds
    18.             stop
    19.         if lore of loop-player's tool contains "&7Haste III":
    20.             apply potion of speed of tier 3 to loop-player for 2 seconds
    21.             stop
    22.         if lore of loop-player's tool contains "&7Speed IV":
    23.             apply potion of speed of tier 4 to loop-player for 2 seconds
    24.             stop
    25.         if lore of loop-player's tool contains "&7Speed V":
    26.             apply potion of speed of tier 5 to loop-player for 2 seconds
    27.             stop
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Speed is a player speed not a tool speed
     
  3. Andalmere

    Andalmere Active Member

    Joined:
    Jan 28, 2017
    Messages:
    63
    Likes Received:
    11
    I have seen something that should be changed.
    Change speed to haste. Anyways, how did you know that speed 1 and 3 have same effect?
     
  4. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
Thread Status:
Not open for further replies.

Share This Page

Loading...