it shouldn't be too hard.. I imagine you have something that tells you that your car is drifting right? so if that's true then start counting score * scoremultiplier, if input direction changes past a certain threshold then add one to your multiplier.
Well no.. A script like that would be dependant on what you've already got. Which I'm sure you didn't write yourself?