How can I make these fireworks work? This is my script:
wait(5) script.Parent.Anchored=false wait(1) script.Parent.Anchored = true script.Parent.Transparency = 1 script.ParticleEmitter.Enabled = true wait(.5) script.Parent.ParticleEmitter.Enabled = false wait(2) script.Parent:Destroy()
Basically it gets unanchored, shoots up, gets anchored, and becomes transparent. Then particles are activated making it look sort of like a firework. I got this from a tutorial and all the other inputs are correct. What do I need to do? Instead of shooting out the particles it just goes up and disappears without particles coming out.

3 comments
use the code button...
are you serious right now?
Format your code in Lua Code block. Much more pleasant to read through, then.