How do I make it so that while a player is chatting in the game chat, it won't activate a script that involves a key press?
Hi Wolf,
local uis = game:GetService("UserInputService"); uis.InputBegan:Connect(function(obj, gp) if obj.KeyCode == Enum.KeyCode.Q and not gp then -- The 'not gp' part makes sure that it wasn't a game processed event, as in it wasn't clicked while typing. -- Whatever end end)
Thanks,
Best regards,
~~ KingLoneCat