This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.
Called when a player presses a button.
This will not be called if player has a panel opened with keyboard input enabled, use PANEL:OnKeyCodePressed instead.
Prints the person who pressed the key.