flying when wearing armor

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

lolgamerslol

Member
Jul 3, 2022
1
0
1
23
I need a skript that lets a player fly when wearing iron boots named "&c Fly boots" and only a player with a specific name should be able to use it so like only the player "lolgamerslol" should be able to fly when having these boots on and if others wear them it should not work.
its like in this video
Code:
https://youtu.be/Er-iLDdqb0M?t=91
but without tnt
 
Last edited:
You should of put this in requests

do "/boots" to get the boots
but if you dont want it you can remove the first half

Code:
command /boots:
    trigger:
        if player's name = "lolgamerslol":
            give player iron boots named "&c Fly boots"
           
on armor change:
    if player's name = "lolgamerslol":
        if "%event-item%" = "iron boots named &c Fly boots":
            enable flight for player
        else:
            disable flight for player
 
Status
Not open for further replies.