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)