SHARE
TWEET

Untitled

Kusa_Haenai_wWW Jul 19th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. every seconds:
  2.     loop all players:
  3.         {money::%loop-player%} is not set:
  4.             set {money::%loop-player%} to 1000000
  5.  
  6. command /slot [<text>]:
  7.     trigger:
  8.         if arg-1 is "normal":
  9.             if {kk.%player%} is set:
  10.                 stop
  11.             else:
  12.                 set {kk.%player%} to 1
  13.             if {money::%player%} >= 100:
  14.                 remove 100 from {money::%player%}
  15.                 set {a.%player%} to random integer between 1 and 9
  16.                 message "&c&l%{a.%player%}%"
  17.                 play entity_experience_orb_pickup at player with volume 1 and pitch 1
  18.                 wait 10 tick
  19.                 set {b.%player%} to random integer between 1 and 9
  20.                 message "&c&l%{b.%player%}%"
  21.                 play entity_experience_orb_pickup at player with volume 1 and pitch 1
  22.                 wait 10 tick
  23.                 set {c.%player%} to random integer between 1 and 9
  24.                 message "&c&l%{c.%player%}%"
  25.                 play entity_experience_orb_pickup at player with volume 1 and pitch 1
  26.                 if {a.%player%} is {b.%player%}:
  27.                     if {b.%player%} is {c.%player%}:
  28.                         add 10000 to {money::%player%}
  29.                         message "&c&lあたり!!"
  30.                         play entity_firework_blast at player with volume 1 and pitch 1
  31.                         wait 30 tick
  32.                         delete {a.%player%}
  33.                         delete {b.%player%}
  34.                         delete {c.%player%}
  35.                         delete {kk.%player%}
  36.                     else:
  37.                         message "&bはずれ"
  38.                         wait 30 tick
  39.                         delete {a.%player%}
  40.                         delete {b.%player%}
  41.                         delete {c.%player%}
  42.                         delete {kk.%player%}
  43.                 else:
  44.                     message "&bはずれ"
  45.                     wait 30 tick
  46.                     delete {a.%player%}
  47.                     delete {b.%player%}
  48.                     delete {c.%player%}
  49.                     delete {kk.%player%}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top