trace[ "entity" ] is either the player, any other entity (script-models etc) or undefined

I do not know if your player has a static model, the trace-entity will show it as a player.

If so,...