I'm trying to make a menu shop.
Version - 2.4.1
Addons - TuSKe, skQuery
My current skript:
on click holding nether star:
name of held item is "&dShop"
cancel event
open virtual chest inventory with size 1 named "Shop" to player
format gui slot 0 of player with wooden pickaxe named "&7Scrap Pickaxe" with the lore "&cCosts: 3 Oak Planks + 2 Sticks" to run:
if player's inventory contains 3 oak planks:
if player's inventory contains 2 sticks:
remove 3 oak planks from player's inventory
remove 2 sticks from player's inventory
add unbreakable wooden pickaxe named "&7Scrap Pickaxe" to player's inventory
format gui slot 1 of player with black stained glass pane named " "
format gui slot 2 of player with black stained glass pane named " "
format gui slot 3 of player with black stained glass pane named " "
format gui slot 4 of player with black stained glass pane named " "
format gui slot 5 of player with black stained glass pane named " "
format gui slot 6 of player with black stained glass pane named " "
format gui slot 7 of player with black stained glass pane named " "
format gui slot 8 of player with black stained glass pane named " "
format gui slot 9 of player with black stained glass pane named " "
Is there a way to add enchants onto the bolded form(s)?
Edit: Solved problem, it was "of efficiency 1"
Version - 2.4.1
Addons - TuSKe, skQuery
My current skript:
on click holding nether star:
name of held item is "&dShop"
cancel event
open virtual chest inventory with size 1 named "Shop" to player
format gui slot 0 of player with wooden pickaxe named "&7Scrap Pickaxe" with the lore "&cCosts: 3 Oak Planks + 2 Sticks" to run:
if player's inventory contains 3 oak planks:
if player's inventory contains 2 sticks:
remove 3 oak planks from player's inventory
remove 2 sticks from player's inventory
add unbreakable wooden pickaxe named "&7Scrap Pickaxe" to player's inventory
format gui slot 1 of player with black stained glass pane named " "
format gui slot 2 of player with black stained glass pane named " "
format gui slot 3 of player with black stained glass pane named " "
format gui slot 4 of player with black stained glass pane named " "
format gui slot 5 of player with black stained glass pane named " "
format gui slot 6 of player with black stained glass pane named " "
format gui slot 7 of player with black stained glass pane named " "
format gui slot 8 of player with black stained glass pane named " "
format gui slot 9 of player with black stained glass pane named " "
Is there a way to add enchants onto the bolded form(s)?
Edit: Solved problem, it was "of efficiency 1"
Last edited: