Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chance=98
- bethigh=false
- -- Betting with Doge
- nextbet=1.6
- currency="Doge"
- -- To bet with BTC, uncomment this section and comment out the last section
- --nextbet=0.00000100
- --currency="Btc"
- -- Switch between these groups to hunt as you hit them
- groupA = {01.29, 01.92, 02.19, 02.91, 09.12, 09.21}
- groupB = {10.29, 10.92, 12.09, 12.90, 19.02, 19.20}
- groupC = {20.19, 20.91, 21.09, 21.90, 29.01, 29.10}
- groupD = {90.12, 90.21, 91.02, 91.20, 92.01, 92.10}
- groupLast = {20.19}
- function dobet()
- -- Enter the group to hunt here, as the second argument for containedInSet()
- if containedInSet(lastBet.Roll, groupA) then
- print(lastBet.Roll)
- print(lastBet.Id)
- stop()
- end
- end
- function containedInSet(x, set)
- -- Format the roll to 2 decimal places before comparison
- local formattedRoll = tonumber(string.format("%.2f", x))
- print(formattedRoll)
- for key, value in pairs(set) do
- if value == formattedRoll then
- return true
- end
- end
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement