well im trying to make it so when you click the button it changes tha flag color too but heres what i got so far for my domination style game and i need it so it changes the falgs color
function onClicked()
script.Parent.Parent.Owner.Value = 1
script.Parent.Parent.BrickColor = Bright Blue
game.Workspace.Message.Text = "base 1 was captured by blue"
wait(2)
game.Workspace.Message.Text = ""
end
script.Parent.ClickDetector.MouseClick:connect(onClicked) |