View difference between Paste ID: F7zKyMkb and RXuyNR3h
SHOW: | | - or go back to the newest paste.
1
--chance      = math.random (30,45.2381)               -- % Chance to Win
2
basebet     = balance * 0.0001      -- Prebet Value
3
target      = 0.1                   -- Adjust your Target Profit here
4
base        = balance * 0.0005      -- BaseBet after prebet losses
5
prebet      = 5                     -- Prebets before the Main betting
6
targetbal   = balance + target
7
HiLoOnWin   = true                  -- True if random High or Low bets
8
initbalance = balance
9
change      = 1
10
mult        = 2.1                   -- Multiplier after a loss
11
loststreak  = 0
12
hiloss      = 0
13
counter     = 0
14
nextbet     = basebet
15
wincount    = 0
16
17
resetseed()
18
resetbuiltin()
19
20
local total_vaulted = 0             
21
22
global_goal  = targetbal * 0.1           
23
global_vault = targetbal * 0.05          
24
25
partial_goal  = targetbal * 0.01     
26
partial_vault = targetbal * 0.005    
27
28
-- // BODY OF THE SCRIPT // --
29
-- // DON'T TOUCH IF YOU DON'T KNOW WHAT YOU'RE DOING // --
30
31
function dobet()
32
33
    counter+=1
34
    if counter == 500 then
35
        start()
36
        counter = 0
37
    end
38
print("")
39
print("Counter:"..counter)    
40
print("Highest Loss Streak:"..hiloss)
41
print("Current Profit:"..string.format("%3.8f",balance-initbalance))
42
print("Total Vaulted:"..total_vaulted)
43
print("")
44
    if win then
45
        loststreak = 0
46
    end
47
48
    if HiLoOnWin then
49
            wincount += 1
50
            change = math.random(1,3)
51
            if wincount >= change then
52
                --bethigh = not bethigh
53
                wincount = 0
54
            end
55
    end    
56
        
57
    nextbet = basebet
58
59
    if !win then
60
        loststreak+=1
61
        if loststreak > hiloss then
62
            hiloss = loststreak
63
        end
64
    end
65
66
    if loststreak == prebet then
67
        nextbet = base
68
    end
69
    
70
    if loststreak > prebet then
71
        print ("===================================")
72
        print ("       <<< RECOVER MODE >>>        ")
73
        print ("===================================")
74
        chance  = math.random (20,45.2381)
75
        nextbet = previousbet * mult
76
    end
77
    
78
    if loststreak > math.random(6,10) then
79
        print ("===================================")
80
        print ("       <<< STOP LOSS..! >>>        ")
81
        print ("===================================")
82
        resetprofit()
83
        resetpartialprofit()
84
        start()
85
        
86
    end
87
        
88
    if(profit > global_goal) then
89
      if(site.CanVault) then
90
        print ("===================================")
91
        print ("        <<< BOOOM..!! >>>          ")
92
        print ("===================================")
93
        vault(global_vault)    
94
        total_vaulted = total_vaulted+global_vault
95
        end
96
      resetprofit()
97
      else
98
      if(partialprofit > partial_goal) then
99
        if(site.CanVault) then
100
          print ("===================================")
101
          print ("           ...TO VAULT...          ")
102
          print ("===================================")
103
          vault(partial_vault)  
104
          total_vaulted = total_vaulted+partial_vault
105
          end
106
        resetpartialprofit()
107
      end
108
end
109
110
end -- End of dobet() --