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

1 comment

1

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