Need help with car game

hi! i making a game were you drive a car around a track (you know birds-eye)
i need a script that makes the car slow down when its out of the track and also a hit thing for some walls…if anyone have any ideas or a script please post here!