Script errors. I'm Confused

Okay i am confused alot i can’t see what i do wrong i tried everything make a new js file and new project also re-install unity but i still get the error

“Assets/Scripts/CombatSystem.js(1,14): UCE0001: ‘;’ expected. Insert a semicolon at the end.”
“Assets/Scripts/CombatSystem.js(2,14): UCE0001: ‘;’ expected. Insert a semicolon at the end.”

I am very confused because i already put a semicolon at the end, and! when i delete the 2 semicolons then i get 2 more errors that says the same as the above errors :stuck_out_tongue: i am pretty much confused. Please help :slight_smile:

var minAttack 10;
var maxAttack 20;

function Start () {

}

function Update () {

}

function combatSystem() {
	var damage = Random.Range(minAttack, maxAttack);
	
}

Try to change this

var minAttack 10;
var maxAttack 20;

for

var minAttack = 10;
var maxAttack = 20;