so whenever i use BrickColor.new()
it returns a different color than expected sometimes, why? here is part of a script:
script.Parent.BrickColor = BrickColor.new(255, 0, 0) -- turns the color red wait(2) script.Parent.BrickColor = BrickColor.new(31, 128, 29) -- turns it to forest green
when it changes it to the green, it makes it white ._.
Brick color expects argument 1 as a string. Instead use Color3.fromRGB
script.Parent.Color = Color3.fromRGB(255, 0, 0) wait(2) script.Parent.Color = Color3.fromRGB(31, 128, 29)