Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Anyone Want To Help Me With My Script ?

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

If Box.Visible = true i want the button to have Close as text on it. If Box.Visible = false i want the button to have Assault as text ... Any help?

Box = script.Parent.Parent
Button = script.Parent.Parent.Parent


    if Box.Visible == false then
        Button.Text = "Assault"
    end


    if Box.Visible == true then
        Button.Text = "Close"
    end

0
this works... TheDeadlyPanther 2460 — 8y
0
what? xShadowNight 20 — 8y
0
its not working for me xShadowNight 20 — 8y
0
Is there any error printed in the output? GShocked 150 — 8y
View all comments (4 more)
0
No xShadowNight 20 — 8y
0
Perhaps put "elseif" instead of the second "if", then you only need one end. SuperFryX 130 — 8y
0
ok xShadowNight 20 — 8y
0
Nope not working xShadowNight 20 — 8y

Answer this question