How to fix BCE0005: Unknown identifier: 'Movement'.

Hello,
I am trying to make a atm script and I get this error after BCE0005: Unknown identifier: ‘Movement’. If someone could help me fix it that would be great. Heres the script

var Player : GameObject;
var PlayerCam : GameObject;
var Machine : GameObject;
var MachineCam : GameObject;

var MoneyScript : Money;
 
var WithdrawAmount : int;
var DepositAmount : int;
 
private var backWidth : float = 200;
private var backHeight : float = 30;
private var backScreenWidth : float;
private var backScreenHeight : float = -190;
 
private var withdrawWidth : float = 400;
private var withdrawHeight : float = 30;
private var withdrawScreenWidth : float;
private var withdrawScreenHeight : float = 20;
 
private var depositWidth : float = 400;
private var depositHeight : float = 30;
private var depositScreenWidth : float;
private var depositScreenHeight : float = -50;
 
private var inquiryWidth : float = 400;
private var inquiryHeight : float = 30;
private var inquiryScreenWidth : float;
private var inquiryScreenHeight : float = -120;
 
private var okWidth : float = 300;
private var okHeight : float = 30;
private var okScreenWidth : float;
private var okScreenHeight : float = -120;
 
private var cashWidth : float = 100;
private var cashHeight : float = 30;
private var cashScreenWidth : float;
private var cashScreenHeight : float = 0;
 
private var boxWidth : float = 100;
private var boxHeight : float = 30;
private var boxScreenWidth : float;
private var boxScreenHeight : float = -15;
 
private var upArrowWidth : float = 30;
private var upArrowHeight : float = 30;
private var upArrowScreenWidth : float;
private var upArrowScreenHeight : float = 20;
 
private var downArrowWidth : float = 30;
private var downArrowHeight : float = 30;
private var downArrowScreenWidth : float;
private var downArrowScreenHeight : float = -50;
 
private var DisplayMachine : boolean = false;
private var DisplayMain : boolean = false;
private var DisplayWithdraw : boolean = false;
private var DisplayDeposit : boolean = false;
private var DisplayInquiry : boolean = false;
private var CheckPlayerRotation : boolean = false;
private var CorrectAmount : boolean = false;
 
private var pauseAlpha : float = 0.1;
 
private var direction : float;
 
function Start()
{
        DisplayMachine = false;
        MachineCam.SetActiveRecursively(false);
}
 
function Update()
{
        if(CheckPlayerRotation)
        {
                var dir : Vector3 = (Machine.transform.position - Player.transform.position).normalized;
                direction = Vector3.Dot(dir, Player.transform.forward);
                if(direction > 0.8)
                {
                        if(!DisplayMachine)
                        {
                                print("Press G to access machine");
                        }
                        if(Input.GetKeyDown("g"))
                        {
                                ActivateMachine();
                        }
                }
        }
}
 
function OnGUI()
{
        if(DisplayMachine)
        {
                GUI.Box(Rect(0, 0, Screen.width, Screen.height), "");
                
                var backX = (Screen.width - backWidth) / 2;
                var backY = (Screen.height - backHeight) / 2;
                var okX = (Screen.width - okWidth) / 2;
                var okY = (Screen.height - okHeight) / 2;
                var upX = (Screen.width - upArrowWidth) / 2;
                var upY = (Screen.height - upArrowHeight) / 2;
                var downX = (Screen.width - downArrowWidth) / 2;
                var downY = (Screen.height - downArrowHeight) / 2;
                var boxX = (Screen.width - boxWidth) / 2;
                var boxY = (Screen.height - boxHeight) / 2;
                if(DisplayMain)
                {
                        var withdrawX = (Screen.width - withdrawWidth) / 2;
                        var withdrawY = (Screen.height - withdrawHeight) / 2;
                        if(GUI.Button(Rect(withdrawX - withdrawScreenWidth, withdrawY - withdrawScreenHeight, withdrawWidth, withdrawHeight), "Withdraw"))
                        {
                                DisplayWithdraw = true;
                                DisplayMain = false;
                        }
                        var depositX = (Screen.width - depositWidth) / 2;
                        var depositY = (Screen.height - depositHeight) / 2;
                        if(GUI.Button(Rect(depositX - depositScreenWidth, depositY - depositScreenHeight, depositWidth, depositHeight), "Deposit"))
                        {
                                DisplayDeposit = true;
                                DisplayMain = false;
                        }
                        var inquiryX = (Screen.width - inquiryWidth) / 2;
                        var inquiryY = (Screen.height - inquiryHeight) / 2;
                        if(GUI.Button(Rect(inquiryX - inquiryScreenWidth, inquiryY - inquiryScreenHeight, inquiryWidth, inquiryHeight), "inquiry"))
                        {
                                DisplayInquiry = true;
                                DisplayMain = false;
                        }
                        if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Done"))
                        {
                                LeaveMachine();
                        }
                }
                if(DisplayWithdraw)
                {
                        GUI.skin.label.alignment = TextAnchor.UpperRight;
                        GUI.Box(Rect(boxX - boxScreenWidth, boxY - boxScreenHeight, boxWidth, boxHeight), "" + WithdrawAmount);
                        if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                        {
                                ReturnToMain();
                                WithdrawAmount = 0;
                        }
                        GUI.skin.label.alignment = TextAnchor.UpperLeft;
                        if(GUI.Button(Rect(okX - okScreenWidth, okY - okScreenHeight, okWidth, okHeight), "OK"))
                        {
                                if(MoneyScript.AmountInBank >= WithdrawAmount)
                                {
                                        Withdraw();
                                        ReturnToMain();
                                }
                                else
                                {
                                        print("You do not have enough");
                                }
                        }
                        if(GUI.Button(Rect(upX - upArrowScreenWidth, upY - upArrowScreenHeight, upArrowWidth, upArrowHeight), "+"))
                        {
                                WithdrawAmount += 10;
                        }
                        if(GUI.Button(Rect(downX - downArrowScreenWidth, downY - downArrowScreenHeight, downArrowWidth, downArrowHeight), "-"))
                        {
                                if(WithdrawAmount > 0)
                                {
                                        WithdrawAmount -= 10;
                                }
                        }
                }
                if(DisplayDeposit)
                {
                        GUI.skin.label.alignment = TextAnchor.UpperRight;
                        GUI.Box(Rect(boxX - boxScreenWidth, boxY - boxScreenHeight, boxWidth, boxHeight), "" + DepositAmount);
                        if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                        {
                                ReturnToMain();
                                DepositAmount = 0;
                        }
                        GUI.skin.label.alignment = TextAnchor.UpperLeft;
                        if(GUI.Button(Rect(okX - okScreenWidth, okY - okScreenHeight, okWidth, okHeight), "OK"))
                        {
                                if(DepositAmount > 0)
                                {
                                        if(MoneyScript.CashOnHand >= DepositAmount)
                                        {
                                                Deposit();
                                                ReturnToMain();
                                        }
                                        else
                                        {
                                                print("You do not have enough");
                                        }
                                }
                                else
                                {
                                        print("You did not enter an amount");
                                }
                        }
                        if(GUI.Button(Rect(upX - upArrowScreenWidth, upY - upArrowScreenHeight, upArrowWidth, upArrowHeight), "+"))
                        {
                                DepositAmount += 10;
                        }
                        if(GUI.Button(Rect(downX - downArrowScreenWidth, downY - downArrowScreenHeight, downArrowWidth, downArrowHeight), "-"))
                        {
                                if(DepositAmount > 0)
                                {
                                        DepositAmount -= 10;
                                }
                        }
                }
                if(DisplayInquiry)
                {
                        var cashX = (Screen.width - cashWidth) / 2;
                        var cashY = (Screen.height - cashHeight) / 2;
                        GUI.skin.label.alignment = TextAnchor.UpperRight;
                        GUI.Box(Rect(boxX - boxScreenWidth, boxY - (boxScreenHeight - 105), boxWidth, boxHeight), "$" + MoneyScript.AmountInBank);
                        if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                        {
                                ReturnToMain();
                        }
                }
        }
}
 
function OnTriggerEnter(col : Collider)
{
        if(col.gameObject.tag == "Player")
        {
                CheckPlayerRotation = true;
        }
}
 
function OnTriggerExit(col : Collider)
{
        if(col.gameObject.tag == "Player")
        {
                CheckPlayerRotation = false;
        }
}
 
function ActivateMachine()
{
        DisplayMachine = true;
        DisplayMain = true;
        MoneyScript.DisableDisplay();
        Player.GetComponent(MouseLook).enabled = false;
        Player.GetComponent(Movement).enabled = false;
        PlayerCam.SetActiveRecursively(false);
        MachineCam.SetActiveRecursively(true);
}
 
function LeaveMachine()
{
        DisplayMachine = false;
        DisplayMain = false;
        MoneyScript.EnableDisplay();
        MachineCam.SetActiveRecursively(false);
        Player.GetComponent(MouseLook).enabled = true;
        Player.GetComponent(Movement).enabled = true;
        PlayerCam.SetActiveRecursively(true);
}
 
function ReturnToMain()
{
        DisplayMain = true;
        DisplayWithdraw = false;
        DisplayDeposit = false;
        DisplayInquiry = false;
}
 
function Withdraw()
{
        MoneyScript.CashOnHand += WithdrawAmount;
        MoneyScript.AmountInBank -= WithdrawAmount;
        WithdrawAmount = 0;
}
 
function Deposit()
{
        MoneyScript.AmountInBank += DepositAmount;
        MoneyScript.CashOnHand -= DepositAmount;
        DepositAmount = 0;
}

You trying to call a C# script from JavaScript. JS compiles first so it doesn’t find it.
Put Movement script inside “Standard Assets” folder.
Try this :

#pragma strict
import UnityStandardAssets.Characters.FirstPerson;
var Player : GameObject;
 var PlayerCam : GameObject;
 var Machine : GameObject;
 var MachineCam : GameObject;
 
 var MoneyScript : Money;
  
 var WithdrawAmount : int;
 var DepositAmount : int;
  
 private var backWidth : float = 200;
 private var backHeight : float = 30;
 private var backScreenWidth : float;
 private var backScreenHeight : float = -190;
  
 private var withdrawWidth : float = 400;
 private var withdrawHeight : float = 30;
 private var withdrawScreenWidth : float;
 private var withdrawScreenHeight : float = 20;
  
 private var depositWidth : float = 400;
 private var depositHeight : float = 30;
 private var depositScreenWidth : float;
 private var depositScreenHeight : float = -50;
  
 private var inquiryWidth : float = 400;
 private var inquiryHeight : float = 30;
 private var inquiryScreenWidth : float;
 private var inquiryScreenHeight : float = -120;
  
 private var okWidth : float = 300;
 private var okHeight : float = 30;
 private var okScreenWidth : float;
 private var okScreenHeight : float = -120;
  
 private var cashWidth : float = 100;
 private var cashHeight : float = 30;
 private var cashScreenWidth : float;
 private var cashScreenHeight : float = 0;
  
 private var boxWidth : float = 100;
 private var boxHeight : float = 30;
 private var boxScreenWidth : float;
 private var boxScreenHeight : float = -15;
  
 private var upArrowWidth : float = 30;
 private var upArrowHeight : float = 30;
 private var upArrowScreenWidth : float;
 private var upArrowScreenHeight : float = 20;
  
 private var downArrowWidth : float = 30;
 private var downArrowHeight : float = 30;
 private var downArrowScreenWidth : float;
 private var downArrowScreenHeight : float = -50;
  
 private var DisplayMachine : boolean = false;
 private var DisplayMain : boolean = false;
 private var DisplayWithdraw : boolean = false;
 private var DisplayDeposit : boolean = false;
 private var DisplayInquiry : boolean = false;
 private var CheckPlayerRotation : boolean = false;
 private var CorrectAmount : boolean = false;
  
 private var pauseAlpha : float = 0.1;
  
 private var direction : float;
  
 function Start()
 {
         DisplayMachine = false;
         MachineCam.SetActive(false);
 }
  
 function Update()
 {
         if(CheckPlayerRotation)
         {
                 var dir : Vector3 = (Machine.transform.position - Player.transform.position).normalized;
                 direction = Vector3.Dot(dir, Player.transform.forward);
                 if(direction > 0.8)
                 {
                         if(!DisplayMachine)
                         {
                                 print("Press G to access machine");
                         }
                         if(Input.GetKeyDown("g"))
                         {
                                 ActivateMachine();
                         }
                 }
         }
 }
  
 function OnGUI()
 {
         if(DisplayMachine)
         {
                 GUI.Box(Rect(0, 0, Screen.width, Screen.height), "");
                 
                 var backX = (Screen.width - backWidth) / 2;
                 var backY = (Screen.height - backHeight) / 2;
                 var okX = (Screen.width - okWidth) / 2;
                 var okY = (Screen.height - okHeight) / 2;
                 var upX = (Screen.width - upArrowWidth) / 2;
                 var upY = (Screen.height - upArrowHeight) / 2;
                 var downX = (Screen.width - downArrowWidth) / 2;
                 var downY = (Screen.height - downArrowHeight) / 2;
                 var boxX = (Screen.width - boxWidth) / 2;
                 var boxY = (Screen.height - boxHeight) / 2;
                 if(DisplayMain)
                 {
                         var withdrawX = (Screen.width - withdrawWidth) / 2;
                         var withdrawY = (Screen.height - withdrawHeight) / 2;
                         if(GUI.Button(Rect(withdrawX - withdrawScreenWidth, withdrawY - withdrawScreenHeight, withdrawWidth, withdrawHeight), "Withdraw"))
                         {
                                 DisplayWithdraw = true;
                                 DisplayMain = false;
                         }
                         var depositX = (Screen.width - depositWidth) / 2;
                         var depositY = (Screen.height - depositHeight) / 2;
                         if(GUI.Button(Rect(depositX - depositScreenWidth, depositY - depositScreenHeight, depositWidth, depositHeight), "Deposit"))
                         {
                                 DisplayDeposit = true;
                                 DisplayMain = false;
                         }
                         var inquiryX = (Screen.width - inquiryWidth) / 2;
                         var inquiryY = (Screen.height - inquiryHeight) / 2;
                         if(GUI.Button(Rect(inquiryX - inquiryScreenWidth, inquiryY - inquiryScreenHeight, inquiryWidth, inquiryHeight), "inquiry"))
                         {
                                 DisplayInquiry = true;
                                 DisplayMain = false;
                         }
                         if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Done"))
                         {
                                 LeaveMachine();
                         }
                 }
                 if(DisplayWithdraw)
                 {
                         GUI.skin.label.alignment = TextAnchor.UpperRight;
                         GUI.Box(Rect(boxX - boxScreenWidth, boxY - boxScreenHeight, boxWidth, boxHeight), "" + WithdrawAmount);
                         if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                         {
                                 ReturnToMain();
                                 WithdrawAmount = 0;
                         }
                         GUI.skin.label.alignment = TextAnchor.UpperLeft;
                         if(GUI.Button(Rect(okX - okScreenWidth, okY - okScreenHeight, okWidth, okHeight), "OK"))
                         {
                                 if(MoneyScript.AmountInBank >= WithdrawAmount)
                                 {
                                         Withdraw();
                                         ReturnToMain();
                                 }
                                 else
                                 {
                                         print("You do not have enough");
                                 }
                         }
                         if(GUI.Button(Rect(upX - upArrowScreenWidth, upY - upArrowScreenHeight, upArrowWidth, upArrowHeight), "+"))
                         {
                                 WithdrawAmount += 10;
                         }
                         if(GUI.Button(Rect(downX - downArrowScreenWidth, downY - downArrowScreenHeight, downArrowWidth, downArrowHeight), "-"))
                         {
                                 if(WithdrawAmount > 0)
                                 {
                                         WithdrawAmount -= 10;
                                 }
                         }
                 }
                 if(DisplayDeposit)
                 {
                         GUI.skin.label.alignment = TextAnchor.UpperRight;
                         GUI.Box(Rect(boxX - boxScreenWidth, boxY - boxScreenHeight, boxWidth, boxHeight), "" + DepositAmount);
                         if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                         {
                                 ReturnToMain();
                                 DepositAmount = 0;
                         }
                         GUI.skin.label.alignment = TextAnchor.UpperLeft;
                         if(GUI.Button(Rect(okX - okScreenWidth, okY - okScreenHeight, okWidth, okHeight), "OK"))
                         {
                                if(DepositAmount > 0)
                                 {
                                        if(MoneyScript.CashOnHand >= DepositAmount)
                                         {
                                                 Deposit();
                                                 ReturnToMain();
                                         }
                                         else
                                         {
                                                 print("You do not have enough");
                                         }
                                 }
                                 else
                                 {
                                         print("You did not enter an amount");
                                 }
                         }
                         if(GUI.Button(Rect(upX - upArrowScreenWidth, upY - upArrowScreenHeight, upArrowWidth, upArrowHeight), "+"))
                         {
                                 DepositAmount += 10;
                         }
                         if(GUI.Button(Rect(downX - downArrowScreenWidth, downY - downArrowScreenHeight, downArrowWidth, downArrowHeight), "-"))
                         {
                                 if(DepositAmount > 0)
                                 {
                                         DepositAmount -= 10;
                                 }
                         }
                 }
                 if(DisplayInquiry)
                 {
                         var cashX = (Screen.width - cashWidth) / 2;
                         var cashY = (Screen.height - cashHeight) / 2;
                         GUI.skin.label.alignment = TextAnchor.UpperRight;
                         GUI.Box(Rect(boxX - boxScreenWidth, boxY - (boxScreenHeight - 105), boxWidth, boxHeight), "$" + MoneyScript.AmountInBank);
                         if(GUI.Button(Rect(backX - backScreenWidth, backY - backScreenHeight, backWidth, backHeight), "Back"))
                         {
                                 ReturnToMain();
                         }
                 }
         }
 }
  
 function OnTriggerEnter(col : Collider)
 {
         if(col.gameObject.tag == "Player")
         {
                 CheckPlayerRotation = true;
         }
 }
  
 function OnTriggerExit(col : Collider)
 {
         if(col.gameObject.tag == "Player")
         {
                 CheckPlayerRotation = false;
         }
 }
  
 function ActivateMachine()
 {
         DisplayMachine = true;
         DisplayMain = true;
         MoneyScript.DisableDisplay();
         Player.GetComponent(FirstPersonController).enabled = false;
         PlayerCam.SetActive(false);
         MachineCam.SetActive(true);
 }
  
 function LeaveMachine()
 {
         DisplayMachine = false;
         DisplayMain = false;
         MoneyScript.EnableDisplay();
         MachineCam.SetActive(false);
         Player.GetComponent(FirstPersonController).enabled = true;
         PlayerCam.SetActive(true);
 }
  
 function ReturnToMain()
 {
         DisplayMain = true;
         DisplayWithdraw = false;
         DisplayDeposit = false;
         DisplayInquiry = false;
 }
  
 function Withdraw()
 {
         MoneyScript.CashOnHand += WithdrawAmount;
         MoneyScript.AmountInBank -= WithdrawAmount;
         WithdrawAmount = 0;
 }
  
 function Deposit()
 {
         MoneyScript.AmountInBank += DepositAmount;
         MoneyScript.CashOnHand -= DepositAmount;
         DepositAmount = 0;
 }