this code shows an error the refrenced script on this behaviour(game object paddle) missing

using UnityEngine;
using System.Collections;

public class Paddle : MonoBehaviour
{
public float paddle = 1;
public Vector2 playerPos;

void Update()
{
	float yPos = transform.position.y + (Input.GetAxis("Vertical") * paddle);
	playerPos = new Vector2(-20, Mathf.Clamp(yPos, -8, 8));
	transform.position = playerPos;
}

}

Check if the name of the file is the same as the name of the class. Both the filename and the class name must be ‘Paddle’ in this case.