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

Imagecolor3 not changing colors?

I am trying to make a script to make a script where it changes color of a imagebutton, but it does not work. Here is my script:

function onClicked()
script.Parent.Parent.Parent.Parent.Start.Roundify_12px.ImageColor3 = Color3.fromRGB(59, 118, 0)
	end
script.Parent.MouseButton1Click:Connect(onClicked)

The line "color3.fromRGB(59, 118, 0) doesn't seem to be working. Am i suppose to put the rgb value after it or something else?

2 comments

0
  1. Is the script erroring? If so, can you give the error?
0

There is no error in the output

1 answer

Just change it from the properties tab, easy as that!

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