Help pls

  • 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 community!

    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.

BigErrIDK

Member
Apr 5, 2020
2
0
1
Skript version: 2.5.3-MH
Minecraft version: 1.16.5
Code:
if player has unbreakable leather helmet of protection 1:
format gui slot 10 of player with leather helmet named "&bLeather Helmet 2" with lore "Price: 32 Cobble" to run:
if player has 32 of cobblestone:
remove unbreakable leather helmet of Protection 1 from player
give player unbreakable leather helmet of protection 2
remove 32 of cobblestone from player's inventory
send "&aUpgraded to Leather Helmet 2" to player
close player's inventory
else:
send "&4You do not have enough cobblestone for this upgrade" to player
close player's inventory
(there is already a 3 row tuske gui, and i have used similar code for the rest of it)

No errors shown, but the leather helmet isn't there

Addons:
MorkazSk 1.2
skRayFall 1.9.20
Tuske 1.8.2 Pickachu Patch 3
[doublepost=1615049781,1615041702][/doublepost]the reason i didnt send the whole skript is cus its over 2000 lines
if you need a file with it in tell me and ill dm
 
Status
Not open for further replies.