of     1   

OldGoldie
#215587038Saturday, April 29, 2017 9:36 PM GMT

I want to prevent hotkeys from firing during chat. This is what I have: local Service = game:GetService("UserInputService") Service.InputBegan:connect(function(input, recieved) if input.UserInputType == Enum.UserInputType.Keyboard then if input.KeyCode == Enum.KeyCode.Space then game.ReplicatedStorage.GameEvent:FireServer("SlapDown") script:Destroy() end end end)
OldGoldie
#215587106Saturday, April 29, 2017 9:37 PM GMT

Forgot to say I thought of disabling it when / is pressed. But they could mouse into the chat, or not click enter

    of     1