Advertisement
BobMe

pp size machine

Jan 13th, 2020
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local max = 20
  2. local seed = 375
  3.  
  4. for i=1,seed do
  5. random1 = math.random(1,max)
  6. random2 = math.random(1,5)
  7. random3 = math.random(1,2)
  8. end
  9.  
  10. local ppsize = random1
  11.  
  12. if random3 == 1 then
  13. ppsize = ppsize + random2
  14. else
  15. ppsize = ppsize - random2
  16. end
  17.  
  18. local str = "8"
  19.  
  20. if ppsize >= 1 then
  21. for i=1,ppsize do
  22. str = str.."="
  23. end
  24. else
  25. str = str.."="
  26. end
  27.  
  28. str = str.."D"
  29.  
  30. print("Your pp size: \n"..str)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement