- Run the script
- Go to google
- place your mouse in the middle of the screen
- press numpad 0
- do the turorial (if you spam during the tutorial, the game won't continue properly)
- use F2-F7 to draw the shapes you want individually
- or just hold Ctrl+Space to spam all the commands
Code: Select all
SetDefaultMouseSpeed, 2
MouseGetPos, x, y
Return
Numpad0::Reload
F2::HorizontalLine()
F3::VerticalLine()
F4::ArrowDown()
F5::ArrowUp()
F6::Lightning()
F7::Heart()
^Space::SmarterAuto()
HorizontalLine() {
Global
Send, {LButton Down}
MouseMove, x+10, y
Send, {LButton Up}
MouseMove, x, y
}
VerticalLine() {
Global
Send, {LButton Down}
MouseMove, x, y+10
Send, {LButton Up}
MouseMove, x, y
}
ArrowDown() {
Global
Send, {LButton Down}
MouseMove, x+10, y+10
MouseMove, x+10+10, y
Send, {LButton Up}
MouseMove, x, y
}
ArrowUp() {
Global
Send, {LButton Down}
MouseMove, x+10, y-10
MouseMove, x+10+10, y
Send, {LButton Up}
MouseMove, x, y
}
Lightning() {
Global
Send, {LButton Down}
MouseMove, x, y+20
MouseMove, x+20, y+20
MouseMove, x+20, y+40
Send, {LButton Up}
MouseMove, x, y
Sleep, 250 ;has a long animation
}
Heart() {
Global
Send, {LButton Down}
MouseMove, x-10, y-10
MouseMove, x, y+20
MouseMove, x+10, y-10
MouseMove, x, y
Send, {LButton Up}
MouseMove, x, y
Sleep, 350 ;has a long animation
}
Auto() {
Loop {
HorizontalLine()
VerticalLine()
ArrowDown()
ArrowUp()
Heart()
Lightning()
If (!GetKeyState("Space"))
Break
}
}
SmarterAuto() {
Loop {
Loop, 4 {
HorizontalLine()
VerticalLine()
ArrowDown()
ArrowUp()
}
Heart()
Lightning()
If (!GetKeyState("Space"))
Break
}
}