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 9 years ago
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


1
You spelled then wrong below your code block. yoshiegg6 176 — 9y

1 answer

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

You spelt "then" wrong

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

Answer this question