Advertisement
Dreddine

roll_hunt

Jan 14th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enablezz=false
  2. enablesrc=false
  3.  
  4. cls=999999
  5. clsID=0
  6. new=999999
  7. clsNMBR=0
  8.  
  9. div=100000000 --satoshi
  10.  
  11. --SETTING--------------
  12. bethigh=false --true/false = bet over/under
  13. chance=98
  14. nextbet=10/div --base bet (1/div = 1 satoshi)
  15. roll=45 --Roll hunt
  16. -----------------------
  17.  
  18.  
  19.  
  20. function dobet()
  21.  
  22.  
  23.     evaluate = math.abs(roll - lastBet.roll)
  24.        
  25.     if evaluate <= cls then
  26.         cls = evaluate
  27.         clsID = lastBet.id
  28.         clsNMBR = lastBet.roll
  29.     end
  30.  
  31.    
  32. --[[    if cls < new then
  33.         print("YOU'RE LEADER")
  34.     end
  35.     if cls > new then
  36.         print("YOU'RE NOT LEADER")
  37.     end
  38.         if cls == new then
  39.         print("YOU 'RE EX AEQUO")
  40.     end  --]]
  41.        
  42.     print("   ID ROLL CLOSEST= " ..clsNMBR)
  43.     print("   Check this bet! b:" ..clsID)
  44.     print("   GAP= " ..cls)
  45.  
  46.     if lastBet.roll==roll then
  47.         print("STRIKE!!!!! ID = Check this bet! b:" ..lastBet.id)
  48.         stop()
  49.     end
  50.    
  51. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement