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

when the button transparency turn to 1 then the billboard gui is disabled?

But the then statement is reline and I dont no what to do.

script.Parent.Parent.Parent.Head.Transparency= 1 then
script.Parent.Parent.Parent.BillboardGui.Enabled = false

5 comments

0

Please explain your problem with more info.

0

if script.Parent.Parent.Parent.Head.Transparency= 1 then 2 script.Parent.Parent.Parent.BillboardGui.Enabled = false end

0

You're not supposed to have a then there. A then is only for if-then statements. It's if you want to have a condition occur for that part of the script to execute.

0

".Enabled = false" i wonder why it's disabled!1!

0

if script.Parent.Parent.Parent.Head.Transparency= then script.Parent.Parent.Parent.BillboardGui.Enabled = false

1 answer

if script.Parent.Parent.Parent.Head.Transparency == 1 then
script.Parent.Parent.Parent.BillboardGui.Enabled = false
end

I've tried this and it shows no errors

1 comment

0

but if I do one = instead of == the = is red underline

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