-
Notifications
You must be signed in to change notification settings - Fork 3
/
SSSCript_V4_2 TRX.lua
472 lines (454 loc) · 16.1 KB
/
SSSCript_V4_2 TRX.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
--Random initialize
math.randomseed(os.time())
--Warming up
math.random(); math.random(); math.random()
--List setting chance
listTarget = {1.02;1.03;1.04;1.05};listChanceTarget = {97.05;96.11;95.19;94.28}
--Default value
highProfit = 0;lowProfit = 0
tinyBet = 0.0001;maxSleep = tinyBet*5
oldBalance = balance;sleepBet = math.random(tinyBet*100000000,maxSleep*100000000)/100000000
chance = 49.5;nextbet = sleepBet;wager = 0;e = 0
--For without Stake--
--highProfit = 0;lowProfit = 0
--oldBalance = balance;maxSleep = balance/200000;sleepBet = math.random(0.00000001*100000000,maxSleep*100000000)/100000000
--chance = 49.5;nextbet = sleepBet
--
chanceBase = 49.5
divedeToBet1 = 865
bet1 = balance/divedeToBet1
betBack1 = bet1
countStreak1 = 0
chance2 = 66
multiplierToBet2 = 40
bet2 = bet1*multiplierToBet2
loseStreakS = 0
minTakeProfitPerRoll = 15; maxTakeProfitPerRoll = 30
takeProfitPerRoll = math.random(minTakeProfitPerRoll, maxTakeProfitPerRoll)
typeSleep3 = true
--
diveWager_4 = 27
chanceWager_4 = 98
chanceBack_4 = 66
wagerBet_4 = balance/diveWager_4
endDice = false
--Sleep setting
timeToRun = math.floor(99/chance*math.random(1, 3)+0.5)
time = 1800;maintime = os.clock();timeStart = os.clock();curTime=0;timeRun = 0;midTime = 0;backTime=0;checkWait=false;toBig=true;timeSleepStop=0;countBack=10
countTo4 = 0
--Bet setting
divBalanceToBig = 16
bigBig = oldBalance*0.9998/divBalanceToBig
mainBigBig = bigBig
multiplierBig = 5
minMultiplyProfit = 0.05;maxMultiplyProfit = 0.2
multiplyProfit = math.random(minMultiplyProfit*100,maxMultiplyProfit*100)/100
resMain = balance + bigBig
takeProfitPerTime = balance + bigBig*multiplyProfit;raseProfitPerTime = takeProfitPerTime - balance
--Type bet setting
typeBet = 4
nextbet = wagerBet_4
chance = chanceWager_4
time = math.random(10,15)
x = os.clock()
--Joke value
joker = math.random(1, 200)
divedeJoke = math.random(200, 300)
joke = bigBig/divedeJoke;countJoke = 0
--Stop take profit
multiplyStopProfit = 1.2
takeProfit = balance*multiplyStopProfit
resetseed()
function dobet()
wager = wager + nextbet
function genNewSleep()
sleepBet = math.random(tinyBet*100000000,maxSleep*100000000)/100000000
end
function jokeDealer()
joker = math.random(1, 200)
if(joker == 99)then
divedeJoke = math.random(5000, 10000)
joke = bigBig/divedeJoke
nextbet = joke
countJoke = countJoke + 1
print("SEND JOKES...")
end
end
function seedRandomizer()
seedRandomizer = math.random(0, 2)
while (seedRandomizer >= 1) do
resetseed()
seedRandomizer = seedRandomizer - 1
end
end
function hiloRandomizer()
hiloRandomizer = math.random(0, 1)
if (hiloRandomizer == 1) then
bethigh = true
else
bethigh = false
end
end
function randomChane()
CHANCE_RANDOMIZER = math.random(3300,9800)
chance = CHANCE_RANDOMIZER/100
payout = 99/chance
if(typeBet == 1)then
timeToRun = math.floor(99/chance*math.random(1, 3)+0.5)
elseif(typeBet == 2)then
timeToRun = math.floor(99/chance*math.random(2, 4)+0.5)
if(payout >= 1.5)then
timeToRun = math.floor(99/chance*math.random(2, 4)+0.5) + 1
end
else
timeToRun = math.floor(99/chance*2+0.5)
end
genNewSleep()
nextbet = sleepBet
end
function sleepToNext()
typeBet = math.random(1, 2)
if(os.clock() - x <= time )then
newtime = time - (os.clock() - x)
genNewSleep()
nextbet = sleepBet
jokeDealer()
print("[Wait] [" ..string.format("%.2d:%.2d", math.floor(newtime/60), math.floor(newtime%60)).. "] for next session...")
toBig = false
else
print("Back to bet...")
toBig = true
maintime = os.clock()
backTime = midTime
typeBet = math.random(1, 3)
if(typeBet == 1 or typeBet == 2) then
multiplyProfit = math.random(minMultiplyProfit*100,maxMultiplyProfit*100)/100
takeProfitPerTime = balance + bigBig*multiplyProfit
raseProfitPerTime = takeProfitPerTime - balance
elseif(typeBet == 3)then
takeProfitPerRoll = math.random(minTakeProfitPerRoll, maxTakeProfitPerRoll)
takeProfitPerTime = balance + bet1*takeProfitPerRoll
raseProfitPerTime = takeProfitPerTime - balance
end
if(typeBet == 4 or countTo4 >= 3)then
countTo4 = 0
typeBet = 4
nextbet = wagerBet_4
chance = chanceWager_4
time = math.random(10,15)
x = os.clock()
elseif(typeBet <= 1 and typeBet <= 3)then
countTo4 = countTo4 + 1
randomChane()
end
hiloRandomizer()
seedRandomizer()
end
end
function sleepToNextBet3()
if(os.clock() - x <= time)then
typeBet = math.random(1, 2)
newtime = time - (os.clock() - x)
jokeDealer()
print("[Wait] [" ..string.format("%.2d:%.2d", math.floor(newtime/60), math.floor(newtime%60)).. "] for next session...")
genNewSleep()
nextbet = sleepBet
toBig = false
typeSleep3 = true
else
print("Back to bet...")
toBig = true
maintime = os.clock()
backTime = midTime
randomChane()
typeBet = 3
loseStreakS = 0
end
end
function sleepToNextBet4()
if(os.clock() - x <= time)then
newtime = time - (os.clock() - x)
print("[Bet in] [" ..string.format("%.2d:%.2d", math.floor(newtime/60), math.floor(newtime%60)).. "] left...")
typeSleep3 = true
endDice = false
else
print("Go to sleep...")
endDice = true
randomChane()
end
end
function randomChaneReal()
CHANCE_RANDOMIZER = math.random(1, #listChanceTarget)
chance = listChanceTarget[CHANCE_RANDOMIZER]
nextbet = bigBig
if(bigBig > balance)then
nextbet = balance*0.999
end
end
function randomTime()
TIME_RANDOMIZER = math.random(1, 8)
if(TIME_RANDOMIZER >= 1 and TIME_RANDOMIZER <= 5 )then
time = math.random(0, 300)
elseif(TIME_RANDOMIZER >= 6 or TIME_RANDOMIZER <= 7)then
time = math.random(300, 600)
elseif(TIME_RANDOMIZER == 8)then
time = math.random(600, 900)
end
end
function renewWhenLoss()
bigBig = bigBig*multiplierBig
resMain = oldBalance+highProfit
multiplyProfit = math.random(minMultiplyProfit*100,maxMultiplyProfit*100)/100
takeProfitPerTime = balance + bigBig*multiplyProfit
raseProfitPerTime = takeProfitPerTime - balance
randomTime()
x = os.clock()
sleepToNext()
randomChane()
bet1 = balance/divedeToBet1
betBack1 = bet1
countStreak1 = 0
bet2 = bet1*multiplierToBet2
countTo4 = 3
end
function dobet1()
e = currentstreak - timeToRun
if win then
if(nextbet ~= sleepBet)then
randomChane()
seedRandomizer()
elseif(toBig == true)then
if(e == 0 and nextbet == sleepBet)then
randomChaneReal()
else
jokeDealer()
end
end
else
if(toBig == true)then
if(nextbet >= mainBigBig*0.9)then
renewWhenLoss()
else
randomChane()
end
else
randomChane()
end
end
end
function dobet2()
e = currentstreak + timeToRun
if win then
if(nextbet ~= sleepBet)then
seedRandomizer()
end
randomChane()
else
if(toBig == true)then
if(nextbet >= mainBigBig*0.9)then
renewWhenLoss()
elseif(e == 0)then
randomChaneReal()
else
jokeDealer()
end
end
end
end
function dobet3()
if win then
if(toBig == true)then
if(nextbet > sleepBet)then
betBack1 = bet1
randomChane()
if(nextbet >= bet2)then
seedRandomizer()
end
hiloRandomizer()
if(betBack1 < bet2)then
x = os.clock()
time = math.random(1,30)
typeSleep3 = true
sleepToNextBet3()
randomChane()
end
countStreak1 = 0
else
randomChane()
end
genNewSleep()
nextbet = sleepBet
else
randomChane()
end
e = timeToRun
loseStreakS = 0
else
if(toBig == true)then
loseStreakS = loseStreakS - 1
e = loseStreakS + timeToRun
if(nextbet > sleepBet and countStreak1 < 3)then
countStreak1 = countStreak1 + 1
if(countStreak1 < 3)then
betBack1 = betBack1*4
genNewSleep()
nextbet = sleepBet
loseStreakS = 0
x = os.clock()
time = math.random(1,60)
typeSleep3 = true
sleepToNextBet3()
end
end
if(e == 0)then
chance = chanceBase
nextbet = betBack1
if(countStreak1 + 1 < 3)then
loseStreakS = 0
end
elseif(e == -1)then
betBack1 = bet2
nextbet = betBack1
chance = chance2
elseif(e < -1 and e > -4)then
betBack1 = betBack1*4
nextbet = betBack1
if(nextbet > balance)then
nextbet = balance*0.999
end
elseif(e <= -4)then
stop()
end
end
end
end
function dobet4()
if win then
if(toBig == true and endDice == false)then
sleepToNextBet4()
--wagerBet_4 = balance/diveWager_4
if(nextbet >= wagerBet_4*6*0.8)then
seedRandomizer()
hiloRandomizer()
end
nextbet = wagerBet_4
chance = chanceWager_4
end
else
if(toBig == true and endDice == false)then
if(currentstreak == -1)then
nextbet = wagerBet_4*2
chance = chanceBack_4
elseif(currentstreak == -2)then
nextbet = wagerBet_4*6
elseif(currentstreak == -3)then
nextbet = wagerBet_4*18
if(nextbet > balance)then
nextbet = balance*0.999
end
elseif(currentstreak == -4)then
stop()
end
end
end
end
print("\n\n\n\n\n")
if(typeBet == 1)then
dobet1()
elseif(typeBet == 2)then
dobet2()
elseif(typeBet == 3)then
dobet3()
elseif(typeBet == 4)then
dobet4()
end
if(profit > highProfit)then
highProfit = profit
elseif(profit < lowProfit)then
lowProfit = profit
end
if(toBig == true)then
print("<==========Bet view========================>")
midTime = math.floor(os.clock() - maintime)+backTime
print("[Time]: ["..string.format("%.2d:%.2d", math.floor(midTime/60), math.floor(midTime%60)).."]")
print("[Type]: ["..string.format("%d",typeBet).."]")
print("[Bets]: ["..string.format("%d",bets).."]")
if(typeBet == 1 or typeBet == 2)then
print("[Tobet]: ["..string.format("%d",e).."]")
print("[Big Bet]: ["..string.format("%.8f",bigBig).."] ["..string.format("%.4f",bigBig/oldBalance*100).."]%")
else
print("[Tobet]: ["..string.format("%d",e).."]")
print("[Next Bet]:["..string.format("%.8f",nextbet).."] ["..string.format("%.4f",nextbet/(balance)*100).."]%")
end
print("[Chance]: ["..string.format("%.2f",chance).."]")
print("[Payout]: ["..string.format("%.2f",99/chance).."]")
else
if(typeSleep3 == true)then
sleepToNextBet3()
else
sleepToNext()
end
end
print("<==========Profit view=====================>")
print("[Profit]: ["..string.format("%.8f",profit).."] ["..string.format("%.4f",profit/(oldBalance)*100).."]%")
print("[Session]: ["..string.format("%.8f",raseProfitPerTime).."] ["..string.format("%.4f",(raseProfitPerTime)/oldBalance*100).."]%")
print("[Big Bet]: ["..string.format("%.8f",bigBig).."] ["..string.format("%.4f",bigBig/oldBalance*100).."]%")
print("[Bet Back]:["..string.format("%.8f",betBack1).."] ["..string.format("%.4f",betBack1/oldBalance*100).."]%")
print("[High PF]: ["..string.format("%.8f",highProfit).."] ["..string.format("%.4f",highProfit/(oldBalance)*100).."]%")
print("[Low PF]: ["..string.format("%.8f",lowProfit).."] ["..string.format("%.4f",lowProfit/(oldBalance)*100).."]%")
print("[Jokes ]: ["..string.format("%d",countJoke).."] ["..string.format("%d",countTo4).."]%")
timeRun = math.floor(os.clock() - timeStart)
if(timeRun > 0)then
print("<==========Wager view======================>")
print("[Wager]: ["..string.format("%.8f",wager).."] ["..string.format("%.4f",wager/(oldBalance)*100).."]%")
print("[Per hour]:["..string.format("%.8f",wager/timeRun*3600).."] ["..string.format("%.4f",wager/timeRun*3600/oldBalance*100).."]%")
print("[Per day]: ["..string.format("%.8f",wager/timeRun*86400).."] ["..string.format("%.4f",wager/timeRun*86400/oldBalance*100).."]%")
end
if(checkWait == true)then
checkWait = false
x = os.clock()
sleepToNext()
end
if((balance >= takeProfitPerTime and toBig == true and typeBet >= 1 and typeBet <= 3) or (endDice == true and typeBet == 4)) then
checkWait = true
typeSleep3 = false
endDice = false
if(bigBig*0.9 <= mainBigBig or balance >= resMain*0.999)then
bigBig = balance*0.9998/divBalanceToBig
mainBigBig = bigBig
bet1 = balance/divedeToBet1
betBack1 = bet1
countStreak1 = 0
bet2 = bet1*multiplierToBet2
end
randomTime()
randomChane()
end
if(balance >= takeProfit)then
print("GET RICK...")
takeProfit = balance*multiplyStopProfit
timeSleepStop = math.random(3600,7200)
typeSleep3 = false
bigBig = balance*0.9998/divBalanceToBig
mainBigBig = bigBig
bet1 = balance/divedeToBet1
betBack1 = bet1
countStreak1 = 0
bet2 = bet1*multiplierToBet2
toBig = true
loseStreakS = 0
wagerBet_4 = balance/diveWager_4
curTime = os.time()
print("[Time Stop]: ["..os.date('%Y-%m-%d-%H:%M:%S', curTime).."]")
print("[Time Sleep]: ["..os.date('%Y-%m-%d-%H:%M:%S', curTime+timeSleepStop).."]")
sleep(timeSleepStop)
countBack = 10
while (countBack > 0) do
stop()
continuebet()
sleep(1)
countBack = countBack -1
print("Back to bet...")
end
end
end