Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --balance = 1
- basebet = balance / 200;
- nextbet = basebet;
- initBet = basebet;
- initPay = 10; --this is starting payout target.
- betIncrease = basebet; --this is what is added to the base bet on each loss, it is not a percentage value.
- payIncrease = 0.37; --this is the Increasing payout amount, it is not a percentage value.
- currentBet = initBet;
- currentPayout = initPay;
- function getChance(multiplier)
- return 99 / multiplier;
- end
- chance = getChance(10);
- bethigh = false
- dobet = function()
- if (win) then
- currentBet = basebet;
- currentPayout = initPay;
- else
- currentBet = currentBet + betIncrease;
- currentPayout = currentPayout + payIncrease;
- end
- nextbet = currentBet;
- chance = getChance(currentPayout);
- print("Target: "..currentPayout.."x".. " | ".."Outcome: "..round(100 / lastBet.Roll, 2).."x");
- end
- function round(number, decimals)
- dec = decimals - 1;
- dec2 = 10 / (10 * dec);
- output = number - ((number * 100) % dec2) / 100;
- return output;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement