Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Backround color 3 is not a valid member of Text BUTTON?

Asked by
6kCrxzy -4
3 years ago

I have a frame for my fighting game and I made a frame with all buttons and I try to change their color at once at it fails. ~~~~~~~~~~~~~~~~~ local dude = script.Parent.Parent.Parent.Combat:GetChildren()

for i, dude in pairs(dude) do
    dude.BackroundColor3 = hsv
end

~~~~~~~~~~~~~~~~~

is my code. I dont understand why Backround Color 3 is not a valid member

1
You spelt Background* wrong~~~~ Ziffixture 6913 — 3y

1 answer

Log in to vote
-1
Answered by 3 years ago

Instead of writing a script that changes all text button background colors at once just use "UIGradient"s. "UIGradient"s are a great way to change color.

Ad

Answer this question