Pressing I is always gameprocessed

Hi, this is just a quick question, I am trying to make a gui bound to the letter I, but GameProcessedEvent is always active for the button I, any help would be greatly appriciated, here’s my code snippit:

game:GetService("UserInputService").InputBegan:Connect(function(input,gpe)
	print(input.KeyCode,gpe)
	if not gpe then
		if input.KeyCode == Enum.KeyCode.I then
			script.Parent.Visible = not script.Parent.Visible
		end
	end
end)

image

1 Like

That’s most likely because I is binded to camera zoom? I’m not sure, that’s just the first thing I’d think of.

1 Like