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?
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?
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! :)
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks for the answers :D