local enabled = false
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if not enabled then
enabled = true
if key == "q" ten
✓ ANSWER ACCEPTED
Whats wrong with my KeyDown?
1 answer
✓ Accepted answer
if key == "q" then
You spelt "then" wrong
3 comments
1
Don't forget to look through for spelling mistakes
1
Thank you so much.
1
No problem!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You spelled then wrong below your code block.