boxs colliders

hi guys, i have one default fps and boxs colliders, would like to ask how could i do up the scripts of the person hit the box, then texts are shown. thanks.

Look up the function OnCollisionEnter in the unity script reference manual.