Here is what I got.
local HitAKey = game.Players.LocalPlayer:GetMouse().KeyDown
local Name = game.Players.LocalPlayer.Name
HitAKey:connect(function(key)
if key == 'e' or 'E' then
print(Name.." has pressed E!")
elseif key == 'q' or 'Q' then
print(Name.." has pressed Q!")
end
end)
But when I press any keyboard button, like A, it prints "Player1 has pressed E!" But it still prints that if I press W, A, S, D keys again!

1 comment
this is NOT a request site