Create a light that change its color every 2 or 3 seconds. Add a car sprite that when it touches the red color it shoul stop.
Use sensors (remember to use loops with sensors) and conditionals.