"On line 42 for custom actions, could a workaround for this system to work include making it so that when the player presses the key to start typing in the chat bar, the indicator would appear?"