random shoe poo

in #dice3 years ago (edited)
Authored by @@dopeshot

---------random poo goo on my shoe repeater---------
-- I'm very poor. If you like the script or gain a bunch from it please donate something
-- BTC bc1qn63vezss0nrqz4nn64fyxm7fzr0v35rldwfdz2

base = 0.00000001 ---OR --- balance/100000
nextbet = base
bethigh = true
losecount = 0
a = 0
target = balance*1.25 ---stop after 25% gain
chance = math.random(200,4000)/100

function dobet()

if balance > target then stop() end
print " ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
print (losecount)
print "---------------------------------------"
print (balance)
print ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
hl = math.random(100)
if hl <= 39 then
bethigh = true
end

if hl >= 71 then
bethigh = false
end 

if math.random(1,2) == 1 then bethigh=!bethigh end

if win then
    nextbet   = base
    chance    = math.random(200,3999)/100
    a         = 0
    losecount = 0
else
    losecount+=1
    a       = math.random(1,3) 
    nextbet = previousbet*2.75      



    if a >= 1 then           
        nextbet = previousbet*3
        chance  = math.random(4400,5000)/100
    end
    
    if a >= 2 then
        nextbet = previousbet*3.5
        chance  = math.random(4800,5555)/100
    end

    if a >= 3 then
        nextbet = previousbet*4
        chance  = math.random(5355,6000)/100
    end
    if (losecount >= 3) then 
        nextbet = previousbet*7.77
        chance  = 77.7
        print "---!!!!!...recovering...!!!!!---"
    end
    end

end

end

Dopeshot's dope dicebot script

**Dicebot scripts are potentially able to cost your entire balance very quickly.  Use at your own risk. 
Sort:  

Congratulations @dopeshot! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 10 upvotes.
Your next target is to reach 50 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

The new HiveFest⁶ attendee badge is waiting for you
Feedback from the November 1st Hive Power Up Day
Support the HiveBuzz project. Vote for our proposal!