Code:
on right click on sign:
if line 1 of clicked block is "&9&l[REDEEM]":
if line 2 of clicked block is "&aCommon Set":
if player has 1 of 416 named "&7[&aCommon&7] &bDiamond Armor Set" with lore "{@COMMON_LORE}":
remove 1 of 416 named "&7[&aCommon&7] &bDiamond Armor Set" with lore "{@COMMON_LORE}" from the player
give 1 of diamond helmet protection 3 and unbreaking 2 to the player
give 1 of diamond chestplate of protection 3 and unbreaking 2 to the player
give 1 of diamond leggings of protection 3 and unbreaking 2 to the player
give 1 of diamond boots of protection 3 and unbreaking 2 to the player
execute Console command "execute %player% ~ ~ ~ /playsound random.orb %player% ~ ~ ~ 1 2"
else:
message "&cYou do not have &ax1 Common Diamond Armor Set&c."
execute Console command "execute %player% ~ ~ ~ /playsound mob.endermen.portal %player% ~ ~ ~ 1 0"
https://prnt.sc/mr4gzj - The error i'm getting, applies to all 4 lines above (Image importing isn't working right)
Having trouble figuring out why the skript isn't working. This is after updating it to 2.2 (The most updated 1.8 Skript version possible) from 2.0 and it was working just fine in 2.0. Help is SUPER appreciated, thank you!