Blue turrets shoot you and try to predict where you are going (uses a MASSIVE Equation, please don't try to change it, you will break it if you do!) The Crosshair sprite "FutureLocation" is the simplified version of the Aim equation, and is just as accurate, I found this after making the mega equation, so I decided to keep the mega equation just for fun, and to see which performed better. The Mega Equation Performs better because the crosshair is slightly late The mega equation is also better because it calculates a more accurate distance to the player
Shoot Script: ME (Based on @Dimas5000's aim script, but redone) Music: Avicii - Levels NOTE: The only thing that throws off the predictor, is the edge of the screen... NOTE: The Aim script could be MUCH Simpler, But this accounts for everything, The changing player speeds, The changing Bullet Speeds, and even the change of the gun's position!