So ive got a key model, and ive used the code:
var KeyObject : GameObject;
function OnMouseDown()
{
Destroy(KeyObject);
}
to remove the key after its been Clicked.
Now I want a text to appear on the screen saying “Key Obtained” after you have clicked it, and then make it go away after a couple of seconds. I am a begginer at java scripting so I would like some easy support.
Thankyou very much