Advertisement
dicekode

dedelduwel

Jun 29th, 2024 (edited)
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | Cryptocurrency | 0 0
  1. io.write('++ input basebet ')
  2. local basebet = io.read("*n")
  3.  
  4. io.write('++ input pause ifprofit % ')
  5. local ifpause = io.read("*n")
  6.  
  7. io.write('++ input stop ifprofit % ')
  8. local ifprofit = io.read("*n")
  9.  
  10. os.execute("cls")
  11.  
  12. ifreset = basebet*10
  13. dopause = balance*(ifpause/100)
  14. target  = balance+(balance*(ifprofit/100))
  15. nextbet = basebet
  16. chance  = 90
  17. profitc = 0
  18.  
  19. function dobet()
  20.     profitc = profitc + currentprofit
  21.     if profitc > ifreset then
  22.         if profitc > dopause then
  23.             pause()
  24.         end
  25.         profitc = 0
  26.         nextbet = basebet
  27.     else
  28.         if win then
  29.             nextbet = previousbet * 1.04
  30.         else
  31.             nextbet = previousbet * 1.50
  32.         end
  33.     end
  34.     chance = math.random(90,500)/10
  35.     if balance > target then stop() end
  36. end
  37.        
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement