"can't add script behavior AssemblyIfno.cs. Scrip needs to derive from MonoBehaviour"

I am making my very first game I try to drag a script to player tab I have set up and says “can’t add script behavior AssemblyIfno.cs. Scrip needs to derive from MonoBehaviour” How do I fix this?alt text

Your Code should be derive from MonoBehaviour to drag to player object.

public class Movement : MonoBehaviour

public class Movement : MonoBehaviour
{
    public float speed =0.05f;
    public float jumpspeed = 10f;
    // Start is called before the first frame update
    void Start()
    {
        
    }

}