Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Whats wrong with my KeyDown?

Asked by 10 years ago
01local enabled = false
02 
03local player = game.Players.LocalPlayer
04 
05local mouse = player:GetMouse()
06 
07        mouse.KeyDown:connect(function(key)
08 
09        if not enabled then
10 
11        enabled = true
12if key == "q" ten
1
You spelled then wrong below your code block. yoshiegg6 176 — 10y

1 answer

Log in to vote
1
Answered by
neoG457 315 Moderation Voter
10 years ago
1if key == "q" then

You spelt "then" wrong

1
Don't forget to look through for spelling mistakes neoG457 315 — 10y
1
Thank you so much. Neonization 5 — 10y
1
No problem! neoG457 315 — 10y
Ad

Answer this question