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

How would i have the color of fire in a brick change rapidly?

Asked by 10 years ago

Id like to make it so when you touch the brick, the color of the fire changes. Currently this is the script.

local brick = Workspace.Part

function onTouch(part)

    brick.Fire.Enabled = true
    wait(3)
    brick.Fire.Enabled = false

end


brick.Touched:connect(onTouch)

Now I want the color of the fire to change while it is shown. Help?

1 answer

Log in to vote
0
Answered by 10 years ago

BrickColor.random()

0
Not what i asked. PepperpwniPizza 5 — 10y
Ad

Answer this question