Question: How do you add Enchants to Items?
CODE:
CODE:
code_language.skript:
if argument 1 is "Basic":
wait 1 tick
set {Class.%player%} to "Basic"
close player's inventory
clear player's inventory
set slot 0 of player's inventory to 1 iron sword with no nbt named "&eIron Sword"
set slot 1 of player's inventory to 1 fishing rod named "&eFishing Rod"
set slot 2 of player's inventory to 1 bow named "&eBow"
set slot 3 of player's inventory to 3 golden apples named "&eGolden Apple"
set slot 4 of player's inventory to 16 oak planks named "&eOak Plank"
set slot 5 of player's inventory to 1 mushroom stew named "&eMushroom Soup" with lore "||&eHeals &c2 ❤"
set slot 6 of player's inventory to 1 mushroom stew named "&eMushroom Soup" with lore "||&eHeals &c2 ❤"
set slot 7 of player's inventory to 1 mushroom stew named "&eMushroom Soup" with lore "||&eHeals &c2 ❤"
set slot 8 of player's inventory to 1 potion:8194 with no nbt named "&eSpeed I &7(3:00)"
set slot 9 of player's inventory to 32 arrows
equip player with all iron armor
play "SUCCESSFUL_HIT" to player at volume 1.2
send "&8[&cKit&8] &7You have selected the &cBasic Kit"
stop