Jump to content
Sign in to follow this  

Pong Aimbot Error

Recommended Posts


Hello, I'm new here and do not know autoit what so ever but I found a script that I wanted to use called a Pong aimbot script made by the member DarkShadow. Since I don't know Autoit I just downloaded the Autoit v3 and copied & pasted his script into a .txt file and save it as pong.au3 and used the "compile to exe" feature and it compiled it btu when I try to run it I get an error "Line-1 Error: Only Object-type variables allowed in an "With' statement."

He posted a compiled version the link was dead since the domain name it was posted on is no longer active. I just wanted to use it and I don't know how to code autoit like I said so could someone help me or point me to sth to read so I could find out and fix it? or if someone would be so kind to do so for me :/

Opt("MouseCoordMode", 0)
Opt("PixelCoordMode", 0)
Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 0)
HotKeySet("{esc}", "_Exit")

$oGame = ObjCreate ("ShockwaveFlash.ShockwaveFlash.1")
$GameForm = GUICreate("Pong Aimbot", 820, 660, -1, -1)
$GUIActiveX = GUICtrlCreateObj ($oGame, 10, 10, 800, 580)
$exitbutton = GUICtrlCreateButton("Exit", 704, 624, 89, 25)

With $oGame
    .bgcolor = "#000000"
    .Movie = 'http://www.2flashgames.com/anjh123hhf923/flash/f-178.swf'
    .ScaleMode = 2
    .Loop = True
    .wmode = "Opaque"

$searchcolor = 0xfcfffb
While 1
    $coord = PixelSearch(10, 10, 800, 580, $searchcolor)
    While IsArray($coord)
        MouseMove($coord[0], $coord[1], 0)
        $coord = PixelSearch($coord[0] - 10, $coord[1] - 10, $coord[0] + 10, $coord[1] + 10, $searchcolor)

Func _Exit()

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.