Solved Frost walk boots

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

  • 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.
Jan 28, 2017
23
1
0
53
Skript Version:2.2
Skript Author:Bensku
Minecraft Version:1.8,1.9,1.10,1.11&1.12 (ViaVersion)

---
Full Code:

code_language.skript:
on walk on water:
    player has gold boots named "&cFrost boots":
            if block under player is water block:
                set block under player to ice

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.
 
Last edited:
Change:
code_language.skript:
player has gold boots named "&cFrost boots":
to:
code_language.skript:
if player's boot is a golden boots named "&cFrost boots":
 
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_language.skript:
on any movement:
    if block 1 blocks forwards player is water:
        set block at block 1 blocks forwards player to ice
    if block 1 blocks backwards player is water:
        set block at block 1 blocks backwards player to ice
    if block 1 blocks right player is water:
        set block at block 1 blocks right player to ice
    if block 1 blocks left player is water:
        set block at block 1 blocks left player to ice
 
Status
Not open for further replies.