Jump to content

Recommended Posts

Posted

command: /foodshop
    trigger:
        open virtual chest inventory with size 1 named "&7Food" to player
        format gui slot 1 of player with cooked porkchop named "&fCooked Porkchop &7[&fx16&f]" with lore "Costs 10 Dungeon Tokens" to run:
            if player has less than 10 diamonds:
                message "&cYou don't have enough &4Dungeon Tokens"
            else:
                give 16 cooked porkchop to the player

 

My server is on 1.17.1 with skript and tuSKe

Please help

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...