Someone
public text v1 · immutable local ent = ents.GetByIndex( KeyBoardPlayerKeys[pl:EntIndex()] )
if (ent) && (ent:IsValid()) then
ent.InUse = false
ent:SetOverlayText( "Keyboard - not in use" )
KeyBoardPlayerKeys[pl:EntIndex()] = nil
surface.PlaySound("common/talk.wav")
end