Ok, I changed this for what you said below, I think this should work. Just attach this script to your player ... You'll have to modify it for whatever other content you're wanting to do, I'm just showing you a way I think for you can trigger the gui.
var showGUI : boolean = false ;
function OnTriggerEnter(hit : Collider){
if(hit.gameObject.tag == "MyGuiDoohickeyTagWhateverInamedIt"){
showGUI = true ;
}
}
function OnTriggerExit(hit : Collider){
if(hit.gameObject.tag == "MyGuiDoohickeyTagWhateverInamedIt"){
showGUI = false ;
}
}
function OnGUI(){
if(showGUI){
//do what you're doing with gui.. making your box or whatever
}
}
I think that should do it. Just tag your GUI trigger object whatever you want and replace the "MyGuiDoohickeyTagWhateverInamedIt" in the script to whatever your tag is called. Then add some script for GUI.Box or whatever down near the bottom there.