I'm trying to make a particle emitter inside a part to flash the particles on and off for sparks by changing the transparency, but the output said that my script will not work. Why is this?
game.Workspace.Particles.ParticleEmitter.Transparency = 0
game.Workspace.Button.ClickDetector.MouseClick:connect(function()
wait(10)
game.Workspace.Particles.ParticleEmitter.Transparency = 0
wait(0.8)
game.Workspace.Particles.ParticleEmitter.Transparency = 1
end)

1 comment
NumberSequence.new(0) instead of just 0