Chests don't fill up

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

giovigg

New Member
Nov 17, 2017
5
0
0
28
Code:
command /chester:
    permission: OP
    trigger:
        loop blocks within {skywars::pos::1} to {skywars::pos::2}:
            if loop-block is trapped chest:
                add 1 to {_n}
                set loop-block to {sw.trapped_chest.arena::%{_n}%}
        add apple to inventory of block at {sw.trapped_chest.arena::1}
        add apple to inventory of block at {sw.trapped_chest.arena::2}
        add apple to inventory of block at {sw.trapped_chest.arena::3}
        add apple to inventory of block at {sw.trapped_chest.arena::4}
        add apple to inventory of block at {sw.trapped_chest.arena::5}
        add apple to inventory of block at {sw.trapped_chest.arena::6}
 
Status
Not open for further replies.