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

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

Asked by 3 years ago
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
0
its not because there is no ")" at the end i just didnt copy that by accident. diggerbear1 32 — 3y

1 answer

Log in to vote
1
Answered by
Subsz 366 Moderation Voter
3 years ago

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

0
thank you so much, i have been stumped all day over this. diggerbear1 32 — 3y
Ad

Answer this question