Destroy Character on entering a floor

Good evening,

I’d like to destroy a character after entering a floor. I tried several scripts on the internet but always got an compilation error or stuff like that. Someone here who’s got an idea?

Might want to check out the scripting tutorials.
Specifically: http://unity3d.com/learn/tutorials/modules/beginner/scripting/destroy

Also, please try searching the forums in the future as there’s a ton of related posts.