UCE0001: ';' expected. Insert a semicolon at the end.

import UnityEngine.UI;

static var CurrentAmmo : int;
var InternalAmmo : int;
var AmmoDisplay : GameObject;

static var LoadedAmmo int;
var InternalLoaded : int;
var LoadedDisplay : GameObject;

function Update () {
    InternalAmmo = CurrentAmmo;
    InternalLoaded = LoadedAmmo;
    AmmoDisplay.GetComponent.<Text>().text = "" + InternalAmmo;
    LoadedDisplay.GetComponent.<Text>().text = "" + InternalLoaded;
}

That is my script, copied from "How To Make An FPS In Unity 5 Tutorial - Beginners - Part 009.
I cannot spot a single erroe, however I am a newbie to unity, so help would be appreciated.

Line 7.

static var LoadedAmmo int;

should be:

static var LoadedAmmo : int;