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

How would you make a Help Gui Open?

I've tried over and over again for trying to make it so when you clicked a button a help gui would come up.

2 answers

✓ Accepted answer
function Hybric()
if script.Parent.Parent.HelpLabel.Visible == false then
script.Parent.Parent.HelpLabel.Visible = true
script.Parent.Name = "Close Help"
else
if script.Parent.Parent.HelpLabel.Visible == true then
script.Parent.Parent.HelpLabel.Visible = false
script.Parent.Name = "Open Help"
end
end
end

script.Parent.MouseButton1Down:connect(Hybric)

Make a Gui, put a text button in it. Then, put a TextLabel into the StarterGui. Change the Textlabel's name to "HelpLabel"

3 comments

0

BE SURE THAT THIS SCRIPT IS IN THE TEXT BUTTON!!

0

Thank you!

0

No problem.

--I would make a localscript and script the gui by hand. Or you could insert a Gui in starterpack and when clicked, make it visible, when clicked again, it will become invisible.

--Example: Make a gui place text labels and space them out on the Y-axis so they dont overlap. --Write the text u want and then place a script into the main gui(screengui) --Next write you onClicked function(Button1Down) then use this loop

for i, v in pairs(v:GetChildren())
	if v.Visible == false then
		v.Visible = true 
	else
		v.Visible = false
	end

end

--U can add a debounce as well

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