Now instead of using a hard coded pause waiting for the entire radial menu to load, it waits untill the radial menu actually shows. It doesn't actually use the Create Powerup button, it's just a check.
For example!
You right click the tool, you have to wait ~1 second before the options "Reverse engineer", "Create skill tape" and "Create powerup" appear, right?
This script waits for those options to appear, then pushes the button needed by sending a keystroke (5 or 6).
If setup correctly, I'll still have to post the screenshots, this will work a bit faster than my previous script and will glitch even less.
I've ran my first batch of bits with it, and it went really really smooth, almost faster than I could do manually.
splash("Press Cntrl when the Create Powerup option appears",'11') ; Open the splash screen with my own function, saves code lines
$junkRadialX = $junkX - 125 ; Calculate the location of the "Create powerup" radial menu option
$junkRadialY = $junkY ; Same as above
$junkRadial = PixelChecksum($junkRadialX-5,$junkRadialY-5,$junkRadialX+5,$junkRadialY+5) ; Grab a pixel checksum of the "Create powerup" radial menu option, it is loaded according to user
MouseClick("left",$junkX,$junkY,1,3) ; Close the radial menu so we can continue with the next