hey guys, quick question i cant figure out why this is telling me to add a semicolon, thanks
var hour = 0;
var minute = 0;
var second = 0;
var secondplus = 1;
function Update () {
print ("second");
timewait();
if(second >= 60) {
minute++;
second = 0;
}
if(minute >= 60){
minute = 0;
hour++;
}
}
function timewait () {
yeild WaitForSeconds (secondplus);
}