Issue with changing ground colour when clicking button

So I’m making this change colour of whatever and this is what happens

script:

script.Parent.MouseButton1Click:Connect(function()
workspace.Baseplate.Color = {91, 91, 91}
end)

output:

Unable to assign property Color. Color3 expected, got table

You are trying to change the color of the Baseplate to a table!

{} Usually indicates a table.

Try doing this:

script.Parent.MouseButton1Click:Connect(function()

workspace.Baseplate.Color = Color3.new(91, 91, 91)

end)
1 Like