you can do this yourself dt... you really gotta stop depending on other people to write your projects for you...
also, if you want help, it would help the people helping you if you could be a lil more specific...
you never told anyone exactly how you are raising the spoiler... so i'm gonna assume it's FBF animation...
also, how many frames of animation is it... that's important to know as it'll determine the logic you'll need... therefore i'm gonna use a simple 2 frame animation as a basis for the following help...
1 - in order to know when to raise and lower the spoiler you'll need to know the speed of the vehicle, right... so you've gotta have a variable for that and a line of code in the main loop that always gets this value and stores it in the variable so it can be checked...
2 - the rest is simple... a conditional if(speed > whatever speed you want the spoiler up) { change the frame to the raised position frame } else {change the frame to the lowered position frame }
that's it... see how simple it is if you take a few minutes to think the solution out...
now that you have the logic, it should be simple to write the code... if you do that and still have problems, lemme know and i'll help you figure it out... but if you can't do that, i can't waste any more time here... i'm not gonna do foor you what you can simply do for yourself...
unless you pay me... and my hourly rate is $150 U.S.

you can do it... good luck...
--Mike