script needs to derive from monobehaviour

Hello I was working on character system for my new game but I am getting script needs to derive from monobehaviour error when I try to attach it.

Here is the code:

#pragma strict
var player1 : Character;

function Start ()
{
player1.name = "Esporta";
player1.money = 100;
player1.level = 1;
player1.job = "unemployed";
}

//
//
//
public class Character : MonoBehaviour
{
var name;
var money;
var level;
var job;
}

You used the c# syntax not the unityscript:

public class Character extends MonoBehaviour
{
  var name;
  var money;
  var level;
  var job;
}

Checkout the unityscript newbie guide:
Newbie Guide to UnityScript