Simple Color Script Wont Work?

local rand = Random.new()

while true do
local randomColor = Color3.new(rand:NextNumber(), rand:NextNumber(), rand:NextNumber())
script.Parent.ImageColor3 = randomColor
print(randomColor)
wait(0.1)
end

the image wont turn into any colors it does print the r g b of the color
image
image
image

Is the image already black? If so, it won’t change. It must be pure white to freely change the color. If it is black, it will not change.

1 Like

Doesn’t HAVE to be pure white but just not pure black

yeah it is pure black why is this a thing?

Yeah, but if it’s not pure white, it may give unwanted results, and honestly some pretty ugly results depending on the color it is. That is why I said “freely”, but it may not have been the best word.

i think its pretty silly that it needs to be full black

Come on man, try ANY image editing software, HOW ARE YOU GONNA CHANGE THE COLOR OF A NON COLOR. Black is literally the absence of light.

1 Like

Just because of how Color3 works. Since it is already black, it can’t apply new colors because the image is too dark. This is true with any dark color. It is noticeable, but still barely changes.

Because Black is the “strongest color” and roblox applied a filter on top of the image, not the image itself. So black, will still look black, but white, can apply this “filter like” change. If you try other colors then black or white, then the 2 colors will mix on top of each other

1 Like

oh ok so if i change it to white itll be ok because its going to be rgb anyway?

1 Like

If the image itself is white, and you change the image color on roblox, yes, It will apply that color change

1 Like

yup it works im going to give the solution to the first person who said it cant be black :+1:

1 Like

^^^
‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

thanks doooooooooooooooooood man dooooood

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.