-
I want to make automatic fireworks show(auto turn on within a certain period of time) for my funfair.
-
I dont find at web tutorials for this show and I want to make.
-
I watched at yt one tutorial and fireworks dont works. Please help me!
I believe that you did not seek for it that good.
Meanwhile, ROBLOX devForum has an awesome article for those who wish to learn how to use a particle emitter in an advanced way. You can create a firework that way.
First of all, make sure to set up a particle emitter and set it’s Enabled
property to false.
Then, you would make a script that would emit certain amount of particles after a certain period of time. A script could be something like this:
local Emitter = game.Workspace.FireworkEmitterPart.ParticleEmitter
local SecondsToWait = 10 -- change to anything in seconds, it all will work.
local MinEmittedCount = 10 -- lowest amount possible of particles emitted.
local MaxEmittedCount = 15 -- highest amount possible of particles emitted.
local Enabled = true
repeat
wait(SecondsToWait)
Emitter:Emit(math.random(MinEmittedCount,MaxEmittedCount)) -- emits a random amount of particles in range between MinEmittedCount and MaxEmittedCount.
until Enabled = false
Hope this helps. I won’t help with setting up the emitter, it is pretty easy to be done by yourself without any assistance. Good luck!
this script dont works, emitter dont works when I copied this script
Slow down. No one is going to write a script for you. You first need to plan out what a “firework”. What do you want to achieve?
I want fireworks that are like the new year and for a certain period of time but for funfair(seasions fw)
I wrote an example script, it works if you set it all properly.