Hi, I'm using UserInputService to make a script that shoots things when you press a certain key. The script works 100% fine but anytime I'm typing something in chat the script activates anytime I press that certain key when chatting. Is there any way of making it so that the script doesn't activate when it's pressed during chatting?
Any help is greatly appreciated, thanks.

2 comments
Seen it happen in other games, idk if there is a fix
damn rip