Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Scripts Activating When Chatting?

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

0

Seen it happen in other games, idk if there is a fix

0

damn rip

1 answer

Hmm... I think there is an event when they enter chat so when that fires unbind it and rebind it when they leave. I can't think of any other way

2 comments

0

I'll try what I can, I think I'll just end up using the mouse.KeyDown instead. It's pretty stupid how roblox wants us to use userinputservice but it has more problems than mouse.KeyDown

0

mmkk.. but I really don't recommend using it

This discussion is preserved as it was. New answers, comments, and votes are closed.