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 Frost walk boots

Discussion in 'Skript' started by MasterHunter2003, Aug 2, 2017.

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

    Joined:
    Jan 28, 2017
    Messages:
    23
    Likes Received:
    1
    Skript Version:2.2
    Skript Author:Bensku
    Minecraft Version:1.8,1.9,1.10,1.11&1.12 (ViaVersion)

    ---
    Full Code:

    Code (Skript):
    1.  
    2. on walk on water:
    3.     player has gold boots named "&cFrost boots":
    4.             if block under player is water block:
    5.                 set block under player to ice
    6.  
    Errors on Reload:

    None

    Console Errors: (if applicable)

    None

    Other Useful Info:
    I want it to set the block under the player to ice. At the moment when you run and/or walk it really glitches alot. The problem isn't that I want it to look if the player has the boots applied.


    Addons using (including versions):
    SkQuery latest, Skellett latest, skRayFall latest, WildSkript latest, skUtilities latest, TuSKe latest, RandomSK latest.

    Troubleshooting:

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Yes
    What other methods have you tried to fix it?I've tried using a every tick event and looping for all the playerrs, I've tried looking for a skript from someone else which does the same thing.

     
    #1 MasterHunter2003, Aug 2, 2017
    Last edited: Aug 2, 2017
  2. Best Answer:
    Post #4 by ShaneBee, Aug 2, 2017
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    Change:
    Code (Skript):
    1. player has gold boots named "&cFrost boots":
    to:
    Code (Skript):
    1. if player's boot is a golden boots named "&cFrost boots":
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    Hi, I changed the topic with my question.
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    You can't exactly do it how you wanted to do.
    Setting the block in the same player's location will let him bugged in the water/ice.

    Code:
    Code (Skript):
    1. on any movement:
    2.     if block 1 blocks forwards player is water:
    3.         set block at block 1 blocks forwards player to ice
    4.     if block 1 blocks backwards player is water:
    5.         set block at block 1 blocks backwards player to ice
    6.     if block 1 blocks right player is water:
    7.         set block at block 1 blocks right player to ice
    8.     if block 1 blocks left player is water:
    9.         set block at block 1 blocks left player to ice
     
Thread Status:
Not open for further replies.

Share This Page

Loading...