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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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 'Skript' started by thomas_nietoke, Mar 2, 2019.

Thread Status:
Not open for further replies.
  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. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    add a condition to see if {gold::%player%} >= 100
     
  3. thomas_nietoke

    Joined:
    Feb 26, 2019
    Messages:
    29
    Likes Received:
    0
    Could you create a skript for me?
    so i can see it
     
Thread Status:
Not open for further replies.

Share This Page

Loading...