Hello.
I am making a shop with skript that sells shulker boxes with items in them. I know how to make the shop gui but I need help with giving the player a shulker that has stuff in it.
My code:
Thanks for the help.
I am making a shop with skript that sells shulker boxes with items in them. I know how to make the shop gui but I need help with giving the player a shulker that has stuff in it.
My code:
Code:
command /shoptest:
permission: shop.test
trigger:
open virtual chest with size 6 named "&6&lSet reseller" to player
format gui slot 0 of player with Shulker box named "warrior set" with lore "Shulker from PremiumCrate", "&6&lBuy price 30$", "Sell price 3$" to run:
if player's balance is greater than 30:
give player red shulker box named "warrior" with lore "--"
stop
else:
send "You dont have enough money." to player
stop
Thanks for the help.