Jump to content

arvan

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by arvan

  1. I want it so when they click if they don't have 500 diamonds they don't get the emerald 

    this is what i have

    I bolded the part I need help with

    command /shop:
        trigger:
            open virtual chest inventory with size 2 named "Special Shop" to player
            format gui slot 0 of player with emerald named "&a&lDeath to all mobs" with lore "&aUNCOMMON" to run:
                open virtual chest inventory with size 2 named "Special Shop" to player
                format gui slot 0 of player with emerald named "&6&lEmerald Key" with lore "&6LEGENDARY" to run:
                            remove 500 diamond from player's inventory
                            give player emerald named "&6&lEmerald Key" with lore "&6LEGENDARY"

                format gui slot 1 of player with name tag named "&6Free Warden helmet" with lore "&6LEGENDARY" to run:
                    kill player
                    broadcast "&cDon't be greedy %player%, they were trying to scam the the shop out of warden helmets!!!"
                

×
×
  • Create New...