Skip to content

Instantly share code, notes, and snippets.

@tropicbliss
Created January 3, 2022 14:16
Show Gist options
  • Save tropicbliss/6b5b60ff0cf26e69eee8fea0942fef4e to your computer and use it in GitHub Desktop.
Save tropicbliss/6b5b60ff0cf26e69eee8fea0942fef4e to your computer and use it in GitHub Desktop.
Hypixel Skyblock Melody Harp Macro
import sys
import time
import pyautogui
mapping = {"1": (1, 2), "2": (1, 2), "3": (1, 2), "4": (
1, 2), "5": (1, 2), "6": (1, 2), "7": (1, 2)}
pause_delay = 1
with open("sheet.txt", 'r') as file:
text = file.read().rstrip()
dialog = pyautogui.confirm("Shall we start?")
if dialog == "Cancel":
sys.exit()
for char in text:
if char in mapping:
position = mapping[char]
pyautogui.moveTo(position)
pyautogui.typewrite("q")
elif not char == '.':
print("Unexpected character found, exiting...")
sys.exit(1)
time.sleep(pause_delay)
@CodeBySumant
Copy link

@AstriB0t
Man Do I have to put this code in main scr and make mod.jar or inject it ? like dll

@Potatoes9411
Copy link

bro you are slow its something called a python script bud

@Tamas162
Copy link

thank you so much i have all songs 100% niw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment