I re-posted my question because i've thought it was resolved (but it wasn't really resolved)... Someone really did help me by giving me a link to a post that explains how to convert a ColorSequence to a Color3 value (right here : https://devforum.roblox.com/t/how-do-you-convert-colorsequence-to-color3/130299)

Thanks to this post, i've made this :

local child = game.Workspace.ParticleEmitter
print(child.Color.Keypoints[1].Value) --it gives me 1, 1, 1

However, i've tried in a script to detect a specific color3 value but it doesn't work. Here is the new script :

local child = game.Workspace.ParticleEmitter
if child.Color.Keypoints[1].Value == Color3.new(1, 1, 1) then
print("It is working")
end

Could someone explain me what's not working ?

2 comments

0

why would you do "Color3.new" you're legit creating a new color3 just do "if child.Color.Keypoints[1].Value == 1, 1, 1 then"

0

And it still doesnt work