local data = game.StarterGUI.PlayGUI.Frame.Attributes.BlockData1
data.BackgroundColor3.b = 0
data.BackgroundColor3.r = 85
data.BackgroundColor3.g = 225 this is what i did but its not working its saying b cannot be assigned to that's it the color im trying to make is green
You can easily convert an RGB to a Color3 value using Color3.fromRGB. Simply enough, all you have to do is type the desired values into the parenthesis. Here's an example, and good luck with your game!
local Frame = Instance.new("Frame") Frame.BackgroundColor3 = Color3.fromRGB(85, 225, 0) -- This will set the color to the shade of green you wanted.