This is what I have so far! it only works if the string value in the workspace turns to it right away would I need to use .Changed some how?
while true do
if script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Workspace.announcement.Value == "No Announcements" then
script.Parent.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
wait()
end
if script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Workspace.announcement.Value == "Tornado Watch" then
script.Parent.BackgroundColor3 = Color3.fromRGB(255, 170, 0)
wait()
end
if script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Workspace.announcement.Value == "Tornado Warning" then
script.Parent.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
wait()
end
end

1 comment
for some reason the .Value didn't show up in this codeblock