Just this line of code should run and change the color of the particles but the output says I attempted to call a table value
script.Parent.dustparticles.Color = Color3(hit.Color)
script.Parent.dustparticles.Color = hit.Color
or
script.Parent.dustparticles.Color = Color.fomrRGB(hit.Color)