if script.Parent.Parent.Parent.TeamColor == BrickColor.new('Really red') then script.Parent.Angel.TextTransparency = 1 script.Parent.Angel.BackgroundTransparency = 1 script.Parent.Angel.Active = false script.Parent.Heavon.TextTransparency = 1 script.Parent.Heavon.BackgroundTransparency = 1 script.Parent.Heavon.Active = false elseif script.Parent.Parent.Parent.TeamColor == BrickColor.new('New Yeller') then script.Parent.Demon.TextTransparency = 1 script.Parent.Demon.BackgroundTransparency = 1 script.Parent.Demon.Active = false script.Parent.Hell.TextTransparency = 1 script.Parent.Hell.BackgroundTransparency = 1 script.Parent.Hell.Active = false end
that is the script... it works for the textbox(hell, heavon) but it wont work for the button...
Well , see you're stating that TextTransparency = 1 -- Means it will be The text that will be transparent.
If you state it as TextButtonTransparency = 1 - Now it's Stating the TextButton (Button) is transparent
Here I edited the text up below!
if script.Parent.Parent.Parent.TeamColor == BrickColor.new('Really red') then script.Parent.Angel.TextButtonTransparency = 1.0 script.Parent.Angel.BackgroundTransparency = 1.0 script.Parent.Angel.Active = true script.Parent.Heavon.TextButtonTransparency = 1.0 script.Parent.Heavon.BackgroundTransparency = 1.0 script.Parent.Heavon.Active = true elseif script.Parent.Parent.Parent.TeamColor == BrickColor.new('New Yeller') then script.Parent.Demon.TextButtonTransparency = 1.0 script.Parent.Demon.BackgroundTransparency = 1.0 script.Parent.Demon.Active = true script.Parent.Hell.TextButtonTransparency = 1.0 script.Parent.Hell.BackgroundTransparency = 1.0 script.Parent.Hell.Active = true end