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

How do you color Fire and PointLight in "value" form?

Asked by 10 years ago

So I am trying to edit the effects of the All Seeing Sentry and it works alright, but how do you write out the color in this value form?

    Create'Fire'{
        Size = 5,
        Color = ??? <
        Heat = 7,
    },
    Create'PointLight'{
        Brightness = 10,
        Color = ??? <
        Range = 10,
    },

1 answer

Log in to vote
1
Answered by
Mowblow 117
10 years ago

For the color. You would use a BrickColor() function. Such as: IF you wanted green fire you would do:

local fire = Instance.new("Fire")
fire.Color = BrickColor.new("Bright green") -- Brick colors are case sensitive, be careful.
fire.Size = 5
fire.Heat = 7
0
There's an error. It's telling me to put a } bracket to close the { of my code near the =... ShadowMorel 0 — 10y
0
Uh, I'm pretty sure you would use Color3.new(), not BrickColor(). The only thing to keep in mind is that Color3 values in scripts have to be fractions between 0-1. so for orange: Color3.new(255/255, 150/255, 0) deaththerapy 60 — 10y
0
I have tried that too, but it still doesn't seem to work. ShadowMorel 0 — 10y
Ad

Answer this question