local one = script.Parent.one
local r = 255
local g = 255
local b = 255
one.MouseButton1Click:connect(function()
for i = 1,5 do
r = r - 10
g = g - 10
b = b -10
game.Workspace.test.Decal.Color3 = Color3.new(r,g,b)
wait(.1)
end
end)
ok so what I'm trying to do is to make the decal(game.Workspace.test.Decal) gradually fade to black. For some reason whenever I run this script, the Color3 values of the decal become crazy numbers such as 54790,54669,69504. Is there anything wrong with the script? is there a better way to do this?
