Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const skipGame1 = 3
- const skipGame2 = 3
- const skipGame3 = 3
- const skipGame4 = 3
- const skipGame5 = 3
- const skipGame6 = 3
- const skipGame7 = 0
- const base = 10
- const maxBet = 7
- const maxWin = 5
- const maxBetStop = 1
- const maxwinstop = 1
- const multiple = 2
- const uprate = 2
- const lgreenstop = 1
- const seed = 1
- let Bet1 = false
- let currentBet = base
- let winCount = 0
- let lossStreak = 0
- let history = new Array(0)
- let forlog
- let skipCount = 0
- let stopping = false
- while (true) {
- if (stopping) {
- if (skipCount++ % 2 == 0) {
- const {multiplier} = await this.bet(100,1.01)
- if (multiplier >= 2) {
- this.stop()
- }
- } else {
- const {multiplier} = await this.skip()
- if (multiplier >= 2) {
- this.stop()
- }
- }
- continue
- }
- if (Bet1) {
- const {multiplier} = await this.bet(Math.round(currentBet) * 100, multiple)
- if (multiplier < multiple) {
- lossStreak++
- currentBet *= uprate
- if (lossStreak >= maxBet) {
- if (maxBetStop) {
- if (lgreenstop) {
- stopping = true
- } else {
- this.stop()
- }
- } else {
- winCount = 0
- lossStreak = 0
- currentBet = base
- Bet1 = false
- history = new Array(0)
- }
- }
- } else {
- winCount++
- currentBet = base
- lossStreak = 0
- if (winCount >= maxWin) {
- if (maxwinstop) {
- if (lgreenstop) {
- stopping = true
- } else {
- this.stop()
- }
- } else {
- winCount = 0
- Bet1 = false
- history = new Array(0)
- }
- }
- }
- } else {
- let conditions = new Array(7)
- let rear = 0
- let redStreak = 0
- if (skipGame1 <= 0) {
- conditions[0] = true
- } else {
- conditions[0] = false
- rear++
- }
- if (skipGame2 <= 0) {
- conditions[1] = true
- } else {
- conditions[1] = false
- rear++
- }
- if (skipGame3 <= 0) {
- conditions[2] = true
- } else {
- conditions[2] = false
- rear++
- }
- if (skipGame4 <= 0) {
- conditions[3] = true
- } else {
- conditions[3] = false
- rear++
- }
- if (skipGame5 <= 0) {
- conditions[4] = true
- } else {
- conditions[4] = false
- rear++
- }
- if (skipGame6 <= 0) {
- conditions[5] = true
- } else {
- conditions[5] = false
- rear++
- }
- if (skipGame7 <= 0) {
- conditions[6] = true
- } else {
- conditions[6] = false
- rear++
- }
- let bswitch = true
- forlog = new Array(rear)
- let sr = 0
- for (let i = 0; i < history.length; i++) {
- if (bswitch) {
- if (history[i] < 2) {
- forlog[rear]++
- if (i==0) {
- break
- }
- } else {
- if (rear==0) {
- break
- }
- bswitch = false
- }
- } else {
- if (history[i] < 2) {
- sr++
- if (rear == 1) {
- if (sr >= skipGame1) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 2) {
- if (sr >= skipGame2) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 3) {
- if (sr >= skipGame3) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 4) {
- if (sr >= skipGame4) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 5) {
- if (sr >= skipGame5) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 6) {
- if (sr >= skipGame6) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- } else if (rear == 7) {
- if (sr >= skipGame7) {
- rear--
- forlog[rear] = sr
- conditions[rear] = true
- sr = 0
- bswitch = true
- }
- }
- } else {
- break
- }
- }
- }
- let condition = true
- for (let i = 0; i < conditions.length; i++) {
- if (!conditions[i]) {
- condition = false
- break
- }
- }
- if (condition) {
- this.log(`${forlog.join(" ")}`)
- Bet1 = true
- continue
- }
- if (skipCount++ % 2 == 0) {
- const {multiplier} = await this.bet(100,1.01)
- history.unshift(multiplier)
- } else {
- const {multiplier} = await this.skip()
- history.unshift(multiplier)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement