Fps Tutorial error

I am trying to complete this tutorial ( http://unity3d.com/support/resources/tutorials/fpstutorial.html ) but when ever I try to play i get this error

Mono:Assets/Misc Scripts/FPSCounter.js(2,2): BCE0153: ‘UnityEngine.RequireComponent’ can be applied on one of these targets only : Class.

does anyone know why this is happening ?

If you just want to play the game, just delete the script it is non-essential.

thanks