Skip to content

Instantly share code, notes, and snippets.

@ziot
Created August 5, 2020 19:48
Show Gist options
  • Save ziot/9ae763fb5ac6aaad64e1d5055b053d71 to your computer and use it in GitHub Desktop.
Save ziot/9ae763fb5ac6aaad64e1d5055b053d71 to your computer and use it in GitHub Desktop.
Mr.Beast $100k Riddle - Floppy Bird Script
import requests,json,time
cookie = ""
def doScore(x):
url = "https://www.mrriddle.com/carl/api/do-event"
r = requests.post(url, cookies = {
"bitlagoon": cookie
},
data= {"velocity": "-4.35", "gravity": "0.25", "jump": "-4.6", "event": "score", "position": "312.10000000000053", "rotation": "-39.14999999999999", "score": x, "pipeheight": "200"})
return json.loads(r.text)["data"]["score"]
def doJump(x):
url = "https://www.mrriddle.com/carl/api/do-event"
r = requests.post(url, cookies = {
"bitlagoon": cookie
},
data= {"velocity": "-4.6", "gravity": "0.25", "jump": "-4.6", "event": "jump", "position": "6009.249999999969", "score": x, "pipeheight": "200"})
return json.loads(r.text)["data"]["score"]
for x in range(25,125):
doJump(x)
score = doScore(x)
print(x, score)
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment