From Garry's Mod
Called when another entity uses this entity, example would be a player pressing "+use" this entity.
The entity that caused this input. This will usually be the player who pressed their use key
The entity responsible for the input. This will typically be the same as activator unless some other entity is acting as a proxy
Any passed value.
Kills any player that uses this entity.
function ENT:Use( activator, caller ) if IsValid(activator) and activator:IsPlayer() then caller:Kill() end end