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

How to make a open and close script but with ImageLabels?

I have no Idea how to make one so please help me

2 comments

0

If you mean when you press an Imagelabel, you should use an ImageButton instead.

0

what the hell do you mean

1 answer

You cannot make a open/close program for a GUILabel Instance as there is no interaction signal to connect to. To actively create a togglable Image, you'll have to use an ImageButton.

local ImageButton = script.Parent --// ImageButton GUIObject

ImageButton.MouseButton1Click:Connect(function()
	ImageButton.Visible = (not Image.Visible)
end)

1 comment

0

thanks

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