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

Gui visible only working in roblox studio?

--//Variables
Frame = script.Parent.Frame

--//Function
script.Parent.MouseButton1Click:connect(function()
	if Frame.Visible == true then
		Frame.Visible = false
		script.Parent.Text = "Open Shop"
	else
		Frame.Visible = true
		script.Parent.Text = "Close Shop"
	end	
end)

1 answer

✓ Accepted answer

(I was in a skype call with you)

Well the issue seems that you are using a localscript.

It will fix it if you just use a regular script. :)

Hope this helps!

Sincerely, jmanrock123

2 comments

1

It should work in local.

0

I know I was wierded out by that.

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