I don't know but i want this script to make a Decal Visible when a Part's BrickColor is Bright yellow but it doesn't work!
how does this work?
this is what i got done:
while true do wait(0.5) if script.Parent.Parent.Flag.BrickColor == "Bright yellow" then script.Parent.Parent.Flag.Decal.Transparency = 0 else script.Parent.Parent.Flag.Decal.Transparency = 1 wait(0.5) end end
nothing of a error appears in the Output
Try this small change:
while true do wait(0.5) if script.Parent.Parent.Flag.BrickColor == BrickColor.new("Bright yellow") then script.Parent.Parent.Flag.Decal.Transparency = 0 else script.Parent.Parent.Flag.Decal.Transparency = 1 wait(0.5) end end