:1850: attempt to index local 'mouse' (a nil value) line 1850 the thing down here is line 1850 mouse.KeyDown:connect(function(key)
COMMUNITY QUESTION
mouse.KeyDown:connect(function(key) a nil value?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You should use UserInputService to detect key presses! Here's the wiki on that: https://developer.roblox.com/api-reference/class/UserInputService