Help with keydown

how do i know if leftshift is being pressed with mouse.keydown? theres no Enum.KeyCode.LeftShift so how

Have you tried using the Value instead of the Name?

i just tried it it doesnt work

Is it possible for you to show us the script? Or the part of it that’s not working?

m.KeyDown:connect(function(key)
if key == “w” then
w = true
elseif key == “s” then
s = true
elseif key == “a” then
a = true
elseif key == “d” then
d = true
elseif key == “304” and CD == false then
print(“worked”)

ok nvm i just fixed it i just used userinputservice instead

2 Likes