Skip to content

Instantly share code, notes, and snippets.

@dsetzer
Created December 23, 2019 15:42
Show Gist options
  • Save dsetzer/d8ef39b16f54f952f995c0e37c44ccbc to your computer and use it in GitHub Desktop.
Save dsetzer/d8ef39b16f54f952f995c0e37c44ccbc to your computer and use it in GitHub Desktop.
bustadice CMH script (he didn't lose from the script, take a close look at the payout used during the losses. losses were manual)
var config = {c:{type:'text',label:'Bet Speed',value:100},m:{type:'balance',label:'Base Bet',value:6e2}};await
(async(a,b,c,d,e,f,g)=>{var h=async(i,w,x)=>((w=(g?{b:g.value,p:g.target}:{b:a,p:b}),x=(g?(g.multiplier<b?d(w):c(w)):null),
f=w.b,b=w.p),(g=await this.bet(Math.round(f/1e2)*1e2,b)));for(;;)await h().then(i=>new Promise(r=>setTimeout(r,e)));
})(config.m.value,2.01,(w)=>{w.b=config.m.value,w.p=2.01;},(l)=>{l.p+=1.01;if(l.p>6.05){l.p=2.01,l.b*=(6.05/1.01);}},config.c.value);
/* Copyright © 2019 Daniel Setzer */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment