The purpose of this script is for the block this script is in, if the value labeled resources, is 1000 it will be 1000, it will be 1 color, and if its 900 it will be another color, for some reason, i Don't get any errors, but the colors wont change. Please help me out! Thanks for reading.
if workspace.Resources.Value == 1000 then
script.Parent.BrickColor = BrickColor.new("Bright green")
elseif workspace.Resources.Value == 900 then
script.Parent.BrickColor = BrickColor.new("Br.yellowish green")
end

2 comments
Thanks for helping me! and for all your support :D!
No problem!