help me skript doesn't work

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

mrzakarea

New Member
Dec 21, 2020
9
0
1
25
my skript is kit pay to get kit but if player doesn't have 16 gold ingot | doesn't work

command /helmeti:
trigger:
if player have 16 gold ingot:
give player diamond helmet of protection 1
give player diamond chestplate of protection 1
give player diamond leggings of protection 1
give player diamond boots of protection 1
remove 16 gold ingot from player
else:
if player doesn't have 16 gold ingot
cancel event
message "&cYou Don`t Have Enough Gold ingot &4!"
 
Code:
command /helmeti:
    trigger:
        if player has 16 gold ingot:
            give player diamond helmet of protection 1
            give player diamond chestplate of protection 1
            give player diamond leggings of protection 1
            give player diamond boots of protection 1
            remove 16 gold ingot from player
        else:
            message "&cYou Don`t Have Enough Gold ingot &4!"

That should work.
 
Status
Not open for further replies.