dicekode

dicekode-edited-nos

Nov 4th, 2020 (edited)
584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.04 KB | None | 0 0
  1. -- edited by DICEKODE
  2. -- youtube: https://www.youtube.com/channel/UC-BpueviNmn12aV_pBRY3gQ
  3. -- blog: https://dicekode.blogspot.com
  4. -- whatsapp: https://chat.whatsapp.com/Faes925uLw9HkhZeFHchFf
  5. -- linkdonasi: berikan pada yang "berhak"
  6. -- This is GAMBLING! -- DWYOR (Do With Your Own Risk)
  7.  
  8. resetstats()
  9. basebet    = (balance/1000) * 0.001
  10. target     = balance * 1.5
  11. stoptarget = 100
  12. chance     = 33.3
  13. nextbet    = basebet
  14. bethigh    = true
  15.  
  16. function dobet()
  17.     print(" ")
  18.     print("Profit :"..string.format("%.8f",profit))
  19.     print(" ")
  20.     print("Bet Amount :"..string.format("%.8f",nextbet))
  21.     print("Current Balance : "..string.format("%.8f",balance))        
  22.     chance = math.random(3310,3350)/100
  23.     if (win) then
  24.         nextbet = previousbet * 0.2
  25.         if nextbet < basebet then
  26.             nextbet = basebet
  27.         end
  28.     else    
  29.         nextbet = previousbet * 1.6
  30.     end
  31.         if (balance - nextbet <= stoptarget) then
  32.         stop()
  33.     end
  34.     if (balance > target) then
  35.         stop()
  36.     end  
  37. end
Add Comment
Please, Sign In to add comment