KeyCode functions interfere when chatting

Hello, my game has keycode functions (E and F), and the problem is that when i’m chatting, whenever i press these keys, they still work, and it’s annoying, Is there any way to fix this?

1 Like

InputBegan/Ended has 2 variables, input and process. Process is when the player is typing at the chat/textbox or any chatting

UIS.InputBegan:Connect(function(input, process)
      if process then return end
      -- code
end)
3 Likes

Ohh i didn’t know that! Thanks you so much for helping

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.