I came across this error today and I can't seem to find the fix and hoping to find it here.
This is the error line!
table.insert(cons, i.MouseButton1Down:connect(function()
Already thanks for the support.
I came across this error today and I can't seem to find the fix and hoping to find it here.
This is the error line!
table.insert(cons, i.MouseButton1Down:connect(function()
Already thanks for the support.
To use Click functions you have to use image buttons instead of labels.
Does that also go for holding the mouse down?
Also replacing the ImageLabel cases cause the following bug to appear "ImageButton is not a valid member of TextButton"
?
This discussion is preserved as it was. New answers, comments, and votes are closed.
7 comments
Uh... You know ImageLabel is not ImageButton, right...
https://developer.roblox.com/api-reference/class/ImageButton
I am aware of that but I don't use the word ImageLabel in the LocalScript however it puts the error code MouseButton1Down is not a valid member of ImageLabel in the output!
Check the classname of "i". It in the property window.
I have honestly no clue how to do that.
Every object in Roblox has Classname. https://developer.roblox.com/en-us/api-reference/property/Instance/ClassName
Did you put your "end)"?