I have a LocalScript placed under a frame and I get this error. Here is the code.
Any help? This is the part of the script that errors out.
script.Parent.MouseButton1Down:connect(function()
Frame only has mouse-related events for when a mouse enters, leaves, moves around, and scrolls the mouse wheel. You need a Text Button or Image Button if you want to register mouse clicks, or make use of the UserInputService.