So, i've tried doing this a few times but it just hasnt been working, can some one please tell me if im doing any thing wrong & how to fix it.
Box = script.Parent.Box
Button = script.Parent.Button
Button.MouseButton1Down:connet(function() if Box.Visible=true then Box.Visible=false Button.Text="Information" else Box.Visible=true Button.Text="Close" end end)
There is my script.
Well, you could make it even simpler than that.
Box = script.Parent.Box Button = script.Parent.Button Button.MouseButton1Down:connet(function() if Box.Visible=true then Box.Visible=false Button.Text="Information" else Box.Visible=true Button.Text="Close" end end)