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

How to change the color of fire?

Asked by 6 years ago

I've been practicing my scripting aptitudes by starting off small. I began exploring color, and I'm stuck on changing the color of flame. I've additionally looked in object browser and researched Color3 and Color, however despite everything I still don't comprehend it.

I know how to insert fire in Workspace, which worked.

Instance.new('Fire', game.Workspace)

If it's not too much trouble help..^-^

1 answer

Log in to vote
0
Answered by 6 years ago

Greetings, seancool1012. I am helping you regarding the topic, "How to change the color of fire?"

The fire property takes up Fire.Color = Color3.new()

-- Declaration Section 
local fire = Instance.new("Fire", game.Workspace)

-- Processing Section 
fire.Color = Color3.new(102, 0, 0) -- Look up HTML RGB colours for more info.  

-- Checking Section 
if fire then 
    print ("Fire is placed!")
end
Have a lovely day of coding!
0
Thank you! :D seancool1012 -3 — 6y
Ad

Answer this question