Lucky Spin GUI

nAIMtv

Tree Puncher
#1
LUCKY SPIN MADE BY nAIMtv
cmd create spin nAIMtv
cmd add spin %gui%[\"type\"] = \"form\"
cmd add spin %gui%[\"title\"] = \"§bLucky Spin\"
cmd add spin %gui%[\"content\"] = \"Click a button to spin!\"
cmd add spin %b0%[\"text\"] = \"§bNormal Spin\"
cmd add spin %b1%[\"text\"] = \"§6Super Spin\"
cmd add spin %b2%[\"text\"] = \"§bUltra Spin\"
cmd add spin %bs%[] = %b0%
cmd add spin %bs%[] = %b1%
cmd add spin %bs%[] = %b2%
cmd add spin %gui%[\"buttons\"] = %bs%
cmd add spin %res% = dialog(%p%, %gui%)
cmd add spin if %res% = 0 then goto 40
cmd add spin if %res% = 1 then goto 50
cmd add spin if %res% = 1 then goto 60
cmd add spin exit
cmd insert spin 40 %mybal% = playerbalance(%p%)
cmd add spin if %mybal% > 99 then goto 44
cmd add spin message %p% §8>> §cSpin costs 100$! §8<<
cmd add spin exit
cmd add spin ascon /takemoney %p% 100
cmd add spin message %p% §aPurchase succesful
cmd add spin goto 200
cmd add spin exit
cmd insert spin 50 %mybal% = playerbalance(%p%)
cmd add spin if %mybal% > 249 then goto 54
cmd add spin message %p% §8>> §cSpin costs 250$!§8 <<
cmd add spin exit
cmd add spin ascon /takemoney %p% 250
cmd add spin message %p% §aPurchase successful!
cmd add spin goto 250
cmd add spin exit
cmd insert spin 60 %mybal% = playerbalance(%p%)
cmd add spin if %mybal% > 499 then goto 64
cmd add spin message %p% §8>>§c Spin costs 500$! §8<<
cmd add spin exit
cmd add spin ascon /takemoney %p% 500
cmd add spin message %p% §aPurchase successful!
cmd add spin goto 300
cmd add spin exit
cmd insert spin 200 #Spin 1
cmd add spin %random% = random(1,10)
cmd add spin if %random% = 1 then asop /give %p% (name) 1
cmd add spin if %random% = 2 then asop /give %p% (name) 1
cmd add spin if %random% = 3 then asop /give %p% (name) 1
cmd add spin if %random% = 4 then asop /give %p% (name) 1
cmd add spin if %random% = 5 then asop /give %p% (name) 1
cmd add spin if %random% = 6 then asop /give %p% (name) 1
cmd add spin if %random% = 7 then asop /give %p% (name) 1
cmd add spin if %random% = 8 then asop /give %p% (name) 1
cmd add spin if %random% = 9 then asop /give %p% (name) 1
cmd add spin if %random% = 10 then asop /give %p% (name) 1
cmd add spin exit
cmd insert spin 250 #Spin 2
cmd add spin %random% = random(1,10)
cmd add spin if %random% = 1 then asop /give %p% (name) 1
cmd add spin if %random% = 2 then asop /give %p% (name) 1
cmd add spin if %random% = 3 then asop /give %p% (name) 1
cmd add spin if %random% = 4 then asop /give %p% (name) 1
cmd add spin if %random% = 5 then asop /give %p% (name) 1
cmd add spin if %random% = 6 then asop /give %p% (name) 1
cmd add spin if %random% = 7 then asop /give %p% (name) 1
cmd add spin if %random% = 8 then asop /give %p% (name) 1
cmd add spin if %random% = 9 then asop /give %p% (name) 1
cmd add spin if %random% = 10 then asop /give %p%(name) 1
cmd add spin exit
cmd insert spin 300 #Spin 3
cmd add spin %random% = random(1,10)
cmd add spin if %random% = 1 then asop /give %p% (name) 1
cmd add spin if %random% = 2 then asop /give %p% (name) 1
cmd add spin if %random% = 3 then asop /give %p% (name) 1
cmd add spin if %random% = 4 then asop /give %p% (name) 1
cmd add spin if %random% = 5 then asop /give %p% (name) 1
cmd add spin if %random% = 6 then asop /give %p% (name) 1
cmd add spin if %random% = 7 then asop /give %p% (name) 1
cmd add spin if %random% = 8 then asop /give %p% (name) 1
cmd add spin if %random% = 9 then asop /give %p% (name) 1
cmd add spin if %random% = 10 then asop /give %p% (name) 1
cmd add spin exit