So, firstly i’m new to lua.
What I need help with is when a player touches an entity for a certain amount of time, the player is killed. Say player1 touches the entity func_door, for 20 seconds, after 20 seconds player1 is killed. I’m not necessarily asking for someone to code the whole thing, just something to start with atleast please?