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

Can someone explain why this script turns my GUI white when its a red RGB color?

local found = false
	for i, v in pairs(player.Backpack:GetChildren()) do
	if v.Name == "GravityCoil"
			then
			found = true
		end
		if found == true
		then
			script.Parent.Text = "OWNED"
		script.Parent.BackgroundColor3 = Color3.new(255, 44, 47)
    script.Parent.Roundify.ImageColor3 = Color3.new(255, 44, 47

1 comment

0

its not because there is no ")" at the end i just didnt copy that by accident.

1 answer

✓ Accepted answer

To use RGB, you have to use Color3.fromRGB, not Color3.new()

1 comment

0

thank you so much, i have been stumped all day over this.

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