This is kinda hard to explain.... well not really.
I have a script that accesses UserInputService, and whenever either Z or Enter is pressed, it would run a specific function. But for some reason, whenever I click my mouse button, it's being read as Enter or Z, and it's running the function.
uis.InputBegan:Connect(function(input, gameprocessedevent)
if input.KeyCode == Enum.KeyCode.Z or Enum.KeyCode.KeypadEnter then
introscript.Disabled = true
introscript.Disabled = false
textscript.Disabled = true
text:Remove()
for i = images.ImageTransparency, 1, 0.1 do
images.ImageTransparency = i
wait()
end
for i = intro.Volume, 0, -0.1 do
intro.Volume = i
wait()
end
wait(.5)
introremote2:FireServer()
script.Disabled = true
end
end)

1 comment
"if input.UserInputType == Enum.UserInputType.Keyboard then". It's self-explanatory.