permission: skript.coin.menu
permission message: "&cYou don't have permission to use this command!"
trigger:
set {_coinmenu} to a new chest inventory with 1 row named "Coins"
set slot 3 of {_coinsmenu} to iron nugget named "iron coin"
set slot 4 of {_coinsmenu} to gold nugget named "gold coin"
set slot 5 of {_coinsmenu} to iron ingot named "platinum coin"
set slot 6 of {_coinsmenu} to barrier named "Coming soon"
set slot 7 of {_coinsmenu} to barrier named "Coming soon"
open {_coinsmenu} to player
on inventory click:
if name of event-inventory is "Coins":
cancel event
if event-slot is 3:
if player has 1 blaze powder named "":
remove 1 blaze powder named "" from player
give player iron nugget named "Iron Coin"
send "You exchanged a Blaze Powder for an Iron Coin!" to player
else:
send "You need a Blaze Powder to get an Iron Coin." to player
if event-slot is 4:
if player has 1 iron nugget named "Iron Coin":
remove 1 iron nugget named "Iron Coin" from player
give player gold nugget named "Gold Coin"
send "You exchanged an Iron Coin for a Gold Coin!" to player
else:
send "You need an Iron Coin to get a Gold Coin." to player
if event-slot is 5:
if player has 1 gold nugget named "Gold Coin":
remove 1 gold nugget named "Gold Coin" from player
give player iron ingot named "Platinum Coin"
send "You exchanged a Gold Coin for a Platinum Coin!" to player
else:
send "You need a Gold Coin to get a Platinum Coin." to player
if event-slot is 6:
send "Coming Soon!" to player
if event-slot is 7:
send "Coming Soon!" to player```
#coin gui
1 messages · Page 1 of 1 (latest)
command looks fine
send sk info
(also you should use index of event-slot = n)
ok
where would i get that
run /sk info on your server and send the output