Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Script by VADemon - http://steamcommunity.com/profiles/76561198033268090
- ;Melody by Mast3rpyr0 - http://www.autoitscript.com/forum/topic/50598-musical-melodies/page__hl__beep+song
- ;RMG_IWontDie - I won't die! bot v1.1 - http://youtu.be/N84HpPYxgSY
- #include <Misc.au3>
- #include <WinAPI.au3>
- AutoItSetOption("MouseCoordMode", 2) ; relative to window client area
- AutoItSetOption("SendKeyDownDelay", 1200)
- Global $yes=0
- Global $user32 = DLLOpen("user32.dll")
- while 1
- ; 21 - Page Up
- If _IsPressed("21", $user32) then
- setting()
- endif
- if $yes==1 then
- MouseClick("left")
- endif
- sleep(30)
- WEnd
- Func setting()
- if $yes==0 then
- $yes=1
- Call("playsound", 1)
- else
- $yes=0
- Call("playsound", 2)
- endif
- EndFunc
- Func playsound($y)
- if $y==1 then
- Beep(500, 200)
- Beep(450, 200)
- Beep(400, 200)
- Beep(450, 200)
- Beep(500, 200)
- Beep(500, 200)
- Beep(500, 400)
- elseif $y==2 then
- Beep(500, 200)
- Beep(500, 200)
- Beep(450, 200)
- Beep(450, 200)
- Beep(500, 200)
- Beep(450, 200)
- Beep(400, 400)
- endif
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement