Guitext for score over time.

please can someone help with a script in c# to implement and increase in score over time.

For example every second score will go up by 5.

var delay : float; //delay of the Invoke, in seconds
var repeatTime : float //interval at which the function will be fired
var score : int;
var scoreIncrease : int;

function Start()

function IncreaseScore()

Don’t forget to say thanks! Actualy, please would have been nice too…

Should be GUIText rather than GUITexture. You can use InvokeRepeating.