Ok so I made this script about five minutes ago but I cant for the life of me figure out whats wrong with it. Unity says it is expecting a colon instead of an =. I don't know how that would make any difference. It might be capitalization because I am used to C and C doesn't have capitalizing in it so you don't have to worry about it which is very nice. Without further to do here is my code:
var rotatespeed = 1;
function Update () {
if(Input.GetButtonDown("Vertical"));
{
Transform.rotation.x = 1 + Transform.rotation.x;
}
}
thank you