shop gui

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Tendro

Member
Feb 3, 2021
1
0
1
when i press the item in the gui it only worked once and now doesnt work code:


on inventory click:
if inventory name of player's current inventory is "&cWeapons":
cancel event
if clicked slot is 10:
if player's balance is less than 50:
send "&cYou do not have enough money to buy this" to player
else:
remove 50 from player's balance
give player iron sword
send "&aBought Iron Sword for $50" to player
 
Status
Not open for further replies.