Credits to XXWme for the code
i just edited it to make a KitShop GUI
Feel free to edit it!
cmd add kitshop %gui%[\"title\"] = \"§0§lKIT SHOP\"
cmd add kitshop %gui%[\"content\"] = \"Click a button to buy a kit!\"
cmd add kitshop %b0%[\"text\"] = \"§l§1MIDAS §a400\"
cmd add kitshop %b1%[\"text\"] = \"§l§aFIGHTER §a1000\"
cmd add kitshop %b2%[\"text\"] = \"§l§bBEAST §a2000\"
cmd add kitshop %bs%[] = %b0%
cmd add kitshop %bs%[] = %b1%
cmd add kitshop %bs%[] = %b2%
cmd add kitshop %gui%[\"buttons\"] = %bs%
cmd add kitshop %res% = dialog(%p%, %gui%)
cmd add kitshop if %res% = 0 then goto 40
cmd add kitshop if %res% = 1 then goto 50
cmd add kitshop if %res% = 1 then goto 60
cmd add kitshop exit
cmd insert kitshop 40 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 399 then goto 44
cmd add kitshop message %p% §cNot Enough Money To Buy A Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 400
cmd add kitshop ascon /kitgive Midas %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 50 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 999 then goto 54
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 1000
cmd add kitshop ascon /kitgive Fighter %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 60 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 1999 then goto 64
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 2000
cmd add kitshop ascon /kitgive Beast %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
Forgot to Mention
: Economy
Plugins You Need
MadCommand
Kits
i just edited it to make a KitShop GUI
Feel free to edit it!
cmd create kitshop Buy a Kit!
cmd add kitshop %gui%[\"type\"] = \"form\"cmd add kitshop %gui%[\"title\"] = \"§0§lKIT SHOP\"
cmd add kitshop %gui%[\"content\"] = \"Click a button to buy a kit!\"
cmd add kitshop %b0%[\"text\"] = \"§l§1MIDAS §a400\"
cmd add kitshop %b1%[\"text\"] = \"§l§aFIGHTER §a1000\"
cmd add kitshop %b2%[\"text\"] = \"§l§bBEAST §a2000\"
cmd add kitshop %bs%[] = %b0%
cmd add kitshop %bs%[] = %b1%
cmd add kitshop %bs%[] = %b2%
cmd add kitshop %gui%[\"buttons\"] = %bs%
cmd add kitshop %res% = dialog(%p%, %gui%)
cmd add kitshop if %res% = 0 then goto 40
cmd add kitshop if %res% = 1 then goto 50
cmd add kitshop if %res% = 1 then goto 60
cmd add kitshop exit
cmd insert kitshop 40 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 399 then goto 44
cmd add kitshop message %p% §cNot Enough Money To Buy A Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 400
cmd add kitshop ascon /kitgive Midas %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 50 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 999 then goto 54
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 1000
cmd add kitshop ascon /kitgive Fighter %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 60 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 1999 then goto 64
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 2000
cmd add kitshop ascon /kitgive Beast %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
Forgot to Mention
: Economy
Plugins You Need
MadCommand
Kits