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

Fire Color Help?

Asked by
iLegitus 130
10 years ago

So,Ive been scripting a projectile,And when i wanted to do :

Instance.new("Fire",  game.Workspace)
game.Workspace.Fire.Color = "Really Red"
wait(0.03)
game.Workspace.Fire.SecondaryColor = "Really Black"

It didnt work,Could anybody help debug/fix?

2 answers

Log in to vote
1
Answered by 10 years ago

How about instead;

local Fire = Instance.new("Fire", game.Workspace) --This will create, and specify a new object classified as 'Fire'
Fire.Color = Color3.new(num,num,num) --This will change the Fire's Color (num is where the number will go, and will take a while)
wait(0.03) --Will wait third of a milisecond
Fire.SecondaryColor = Color3.new(num,num,num) --Same with Fire.Color = Color.new(num,num,num)

Hope this helped! :)

Ad
Log in to vote
1
Answered by
lomo0987 250 Moderation Voter
10 years ago
fire = Instance.new("Fire",  game.Workspace)
fire.Color = Color3.new("Really Red")
wait(0.03)
fire.SecondaryColor = Color3.new("Really Black")

Here you go :D

0
Thanks for the answers :D iLegitus 130 — 10y

Answer this question