I’ve stopped developing for over 5 months now. I was scripting and instead of this:
button.MouseButton1Click:Connect(function()
--code
end
I got:
button.MouseButton1Click:Connect(function()
end)
end
I was confused because I got an error. I had to add end) then. I then relised I need to refresh my coding skills.
Please leave a comment below about what I maybe don’t know since I haven’t developed in over 5 months.
Both of those error, for what it’s worth. It’s just one end)—the end is for the anonymous function and the ) is because it’s passed as an argument to Connect.