1. 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 comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Shop

Discussion in 'Requests' started by thomas_nietoke, Mar 2, 2019.

  1. thomas_nietoke

    Joined:
    Feb 26, 2019
    Messages:
    29
    Likes Received:
    0
    command /sshop:
    trigger:
    open chest with 5 rows named "&6Shop" to player
    create a gui slot 10 of player with gold block named "&6&l+1GPC" to run:
    remove 100 from {gold::%player%}
    add 1 to {gold::%player%}
    When i click on the gold block in the shop and i have 99 gold i can still buy it how do i make it so you can't buy it when you have less then 100 gold? And how do i make it so when you click on it and you have 100+ gold you get + 1 every time you right click a gold block?
     
  2. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    Please use the request format.
     
  3. TeAm6_AZLIK

    TeAm6_AZLIK Member

    Joined:
    Dec 5, 2017
    Messages:
    23
    Likes Received:
    0
    Code (Text):
    1. if {gold::%player%} >= 100
     

Share This Page

Loading...