Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @name Jackpot Machine
  2. @inputs Button Mpot
  3. @outputs ScreenA SpwnMpot SpwnPrize
  4.  
  5. Price = 50
  6.  
  7. if (Button & Mpot >= Price) {
  8. SpwnMpot = Price
  9.  
  10. ScreenA = random(1,100)
  11. }
  12.  
  13. else{
  14. SpwnMpot = 0
  15. }
  16.  
  17. if (ScreenA >= 60) {
  18. SpawnPrize = 1
  19.  
  20. ScreenA = 0
  21. }
  22.  
  23. else{
  24. SpawnPrize = 0
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement