On Walk ?

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

FlFlxGamer

Member
Feb 7, 2019
28
1
0
25
Code:
on walk on diamond block:
    if world is "skypvptest":
        cancel event
        if player has permission "diamond.skypvp":
            equip player with diamond helmet of protection 1 and unbreaking 3 named "&aTopex"
            equip player with iron leggings of protection 1 and unbreaking 3 named "&aTopex"
            equip player with iron chestplate of protection 1 and unbreaking 3 named "&aTopex"
            equip player with diamond boots of protection 1 and unbreaking 3 named "&aTopex"
            give 15 arrows named "&aTopex" to player
            set inventory slot 0 of player to diamond sword of sharpness 2 and unbreaking 3 named "&aTopex" to player
            set inventory slot 1 of player to bow of power 2 and unbreaking 5 named "&aTopex" to player



Why it tells me "player" is not an item stack ?
and it tells me that expected 3 tabs in line 5 and it's 3 tabs already
 
Status
Not open for further replies.