Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

ImageColor3 isnt changing color in script?

Hello, i am basically making a ui that leads u to ur personal Journal. I want to make a color selection system that the chosen color is the color of the Journals background (ImageColor3), Problem is it doesnt change, or at least not to the correct color. I have no idea why this isnt working, it seems like it should to me but then again i am a starter scripter..

Here is the script, remember that it aint finished yet but this is a problem i ran into while making it

local Journal = game.Workspace.Journal
local JournalUi = script.Parent.JournalUI
local color = script.Parent.ColorSelection
local button = script.Parent.Text

button.MouseButton1Click:Connect(function()
	color.Visible = true
		color.Pink.Button.MouseButton1Click:Connect(function()
			color.Visible = false
			JournalUi.ImageColor3 = Color3.new(color.Pink.BackgroundColor3)
			JournalUi.Visible = true
		end)
end)

here is an video of what it currently does, https://imgur.com/a/i4bbEHV

Tips and or questions are welcome, Hope someone figures it out, Thank u for reading.

2 answers

change

 JournalUi.ImageColor3 = Color3.new(color.Pink.BackgroundColor3)

to

 JournalUi.ImageColor3 = Color3.fromRGB(255,255,255)  ----- change the 255,255,255 to the color you want for example blue would be (0,0,255)

4 comments

0

you can get a color3 thing from coloring a part to the color you want and then you can find it in properties

0

this isn't "explains it a bit more", this is just spoonfeeding. cry

0

lmao

0

oklol if you say so. Just trying to help somebody

This discussion is preserved as it was. New answers, comments, and votes are closed.