Solved Indentation error

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

Xgod2205

Member
Feb 25, 2021
17
0
1
23
Code:
on break:
    if event-block is wheat:
        add 1 to {backpack.%player%::wheat}
        set event-block to air
        if {pet.%player%} = "rabbit":
            wait 2 seconds
            set event-block to wheat
        else:
            wait 6 seconds
            set event-block to wheat

command /backpack:
    trigger:
        open a chest with 3 rows named "&aBackPack" to player
        set {_s} to 0
        loop 9 times:
            if {_s} = "4":
                format slot 4 of player with chest named "&3Sell all" to be unstealable
                add 1 to {_s}
            else:
                format slot {_s} of player with grey stained glass named " " to be unstealable
                add 1 to {_s}
        format slot 9 of player with grey stained glass named " " to be unstealable
        format slot 17 of player with grey stained glass named " " to be unstealable

upload_2021-4-25_19-6-23.png

[doublepost=1619398518,1619395586][/doublepost]ok ima use tuske gui
 

Attachments

  • upload_2021-4-25_19-2-41.png
    upload_2021-4-25_19-2-41.png
    109 KB · Views: 92
Status
Not open for further replies.