GUIText Help

How can i change a GUIText’s text through a script? Javascript to be precise.

Just assign the new text to the guiText.text property - this works in the GUIText object; if you want to control the GUIText from another script, set a reference to it in the Inspector:

// this is the control script:
var gText: GUIText; // drag the guiText from Hierarchy to here

// Example: show Time.time in seconds with 1 decimal digit
function Update(){
  gText.text = Time.time.ToString("F1");
}