Color3 Values not able to inter-change

Hello, I am trying to send a colour value through to another colour value but it doesn’t send and generates an error.

Script:

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Parent.VehicleValue.Value.Body.VehicleSeat.Color.Value = script.Parent.Parent.ColorValue.Value
	script.Parent.Parent.Parent.Parent.Vehicle_Info:Destroy()
	script.Parent.Parent.Parent.VehicleValue.Value.Body.VehicleSeat.Vehicle_Info:Destroy()
	script.Parent.Parent.Parent.VehicleValue.Value.Body.VehicleSeat.Vehicle_Info_Script:Destroy()
end)

Error:

Value cannot be assigned to  -  Server - Script:2

They are both color3 values but they can’t send it through - It works for a string value on a text though?

Are you trying to change the color of the seat? If yes it is not vehiculseat.Color.Value = but just vehiculseat.Color= I gess

No There is a colour value within the seat which I am trying to change

So you can’t call it color as color is a property of véhicule seat, try using :findfirstchild(“Color”)

I’ve just identified this thank you!

1 Like

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