You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
normal explosion replaced with custom particle explosion just like
the explosion perks in Doomspire BrickBattle
-
What is the issue? Include screenshots / videos if possible!
There’s no property of playing the particle after explosion?
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
particleexp.parent = explosion but nothing appears, just the normal explosion
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
wait(5) -- script takes action after 5 secs
local e = Instance.new("Explosion")
local ParticleExp = game.ServerStorage.ParticleEmitter:Clone()
ParticleExp.Enabled = true
ParticleExp.Parent = e -- particle now with the normal explosion
e.Position = expPart.Position
e.BlastRadius = math.random(69,100)
e.Parent = workspace
--Result: no particle explosion, just normal explosion
1 Like
I may be wrong, but I don’t believe ParticleEmitters can function from within explosions. They need to be parented to a Part instance. You could make your script work by creating a new invisible Part at the Position of the Explosion, and then placing your ParticleEmitter inside of that.
Also, if you want to make the normal explosion not visible to the eye, and remove the default effect, you can set the .Visible property of the Explosion to true.
so i have to put the particle into the part and then the part will :Destroy()?
one game I usually play is Doomspire Brickbattle with custom explosions and how do i do that?
You can :Destroy() the Part after you are done using the ParticleEmitter, and the ParticleEmitter will be destroyed along with it.
Basically, you handle the physical Explosion and the visual effect separately.
In Super Doomspire I believe they either do as I have mentioned, or create physical explosion completely from math and manually changing the velocity on effected parts.
thanks for the help, ill try
have a great day.
Tell me if you run into any problems, and I can try to give you a hand if needed.
Have a great day as well!