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

mouse.KeyDown:connect(function(key) a nil value?

Asked by 4 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

:1850: attempt to index local 'mouse' (a nil value) line 1850 the thing down here is line 1850 mouse.KeyDown:connect(function(key)

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

Answer this question