Menu Enchants

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

sorjie

Member
Apr 13, 2020
1
0
1
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"
 
Last edited:
Status
Not open for further replies.