i am currently making an game and i want and in one part i need to make a choose color thinggy and i just need to get the color of one gui and put that color on another gui.
My code:
local background = script.Parent.Parent.Parent.Parent.background
script.Parent.MouseButton1Click:Connect(function()
background.BackgroundColor3 = Color3.new(script.Parent.Parent.ColourDisplay.ImageColor3.R)
background.BackgroundColor3 = Color3.new(script.Parent.Parent.ColourDisplay.ImageColor3.G)
background.BackgroundColor3 = Color3.new(script.Parent.Parent.ColourDisplay.ImageColor3.B)
end)

1 comment
Thankyou @imagoodlolboyeee