|
| 15 Jun 2012 03:25 PM |
alright, so when you enter my game theres suppose to be a button you can push on this gui that i made, and when you push it another gui opens up with text. but when you join the game that gui is already open? can you help me make it where it starts off closed? heres the script
local button = script.Parent local sg = button.Parent local cf = sg.RoleFrame
local showFrame = false
function onMouseButton1Down() showFrame = not showFrame
if showFrame then button.Text = "Hide Role Menu" else button.Text = "Show Role Menu" end
cf.Visible = showFrame end
button.MouseButton1Down:connect(onMouseButton1Down)
|
|
|
| Report Abuse |
|