How to change explosion type via script

Hi I have this script and I was wondering how would I change the explosion type to NoCraters

Dust = script.Parent.Smoke
Howlong = math.random(15, 30)

while true do
Dust.Enabled = false
wait(Howlong)
script.Parent.FIRE:Play()
wait(3.8)
Ex = Instance.new("Explosion")
Dust.Enabled = true
Ex.BlastPressure = 50000
Ex.BlastRadius = 25
Ex.Position = script.Parent.Position
Ex.Parent = workspace
wait(3)
Dust.Enabled = false
end

Help is very much appreciated .

1 Like

Could you tell me what is NoCraters?

You can set the ExplosionType property to an ExplosionType Enum’s value. Something like this should work: Ex.ExplosionType = Enum.ExplosionType.NoCraters

3 Likes

NoCraters is a explotion option that makes no craters.