New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Anyone Want To Help Me With My Script ?

Asked by 4 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 2438 — 4y
0
what? xShadowNight 20 — 4y
0
its not working for me xShadowNight 20 — 4y
0
Is there any error printed in the output? GShocked 146 — 4y
View all comments (4 more)
0
No xShadowNight 20 — 4y
0
Perhaps put "elseif" instead of the second "if", then you only need one end. SuperFryX 130 — 4y
0
ok xShadowNight 20 — 4y
0
Nope not working xShadowNight 20 — 4y

Answer this question