Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

MouseButton1Down is not a valid member of ImageLabel?

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.

7 comments

0

Uh... You know ImageLabel is not ImageButton, right...

0

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!

0

Check the classname of "i". It in the property window.

0

I have honestly no clue how to do that.

0

Did you put your "end)"?

1 answer

To use Click functions you have to use image buttons instead of labels.

3 comments

0

Does that also go for holding the mouse down?

0

Also replacing the ImageLabel cases cause the following bug to appear "ImageButton is not a valid member of TextButton"

0

?

This discussion is preserved as it was. New answers, comments, and votes are closed.