Advertisement
MertcanGokgoz

Untitled

Jun 20th, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. from phBot import *
  2. import struct
  3. import threading
  4.  
  5. EVENT_LEVEL_UP = 10 # data = new level
  6.  
  7. def donate():
  8. inject_joymax(0x7258, struct.pack('I', 50), False)
  9.  
  10. def handle_event(t, data):
  11. if t == EVENT_LEVEL_UP and get_locale() == 56:
  12. threading.Timer(2.0, donate).start()
  13.  
  14. log('[%s] Loaded' % __name__)
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement