Explosion creation module

Explosion Module Kit link here

Explosions with extra features like this are quite common, so i made this small module which handles the basic stuff, such as:

  • Line of sight check
  • Damage humanoids
  • Effects (1 included)
  • Replicated BlastPressure
  • Replicated DestroyJointsRadiusPercent

And all of these are optional! Here is how a simple explosion can be made using this:

Explosions.MakeExplosionFunctionality(5, 5, 1500, Vector3.new(0,0,0), 1, true, true, nil)

This creates a explosion with a radius of 5, 5 damage, 1500 blast pressure, at 0,0,0, with DJR percent of 1, which checks for line of sight, using the standard roblox explosion effect

16 Likes

i also noticed it uses flipbook particles, not bad at all.

1 Like

ive been working on this alot, updated version coming soon enough

Looks pretty cool so far, but I cant find the explosionbasic5 thing that it says to use

Forgot to include it apparently because im dumb, heres the link ExplosionBasic5 - Roblox

this is very cool, but i got a question, the explosion starts at position 0,0,0 for some reason

Boom.MakeExplosionFunctionality(25,5,Vector3.new(0,0,0),–>POSITION pos,1,true,false,game.Lighting.ExplosionBasic5)

Is there a way to make this explosion occur at an object’s origin,

Script inside an explosive barrel:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ExplosionModule = ReplicatedStorage.Modules.ExplosionModule

script.Parent.ProximityPrompt.Triggered:Connect(function()
	ExplosionModule.MakeExplosionFunctionality(5,5,1500,Vector3.new(0,0,0),1,true,false,game.Lighting.ExplosionBasic5)
end)

Im using proximityPrompt for testing purposes

set position vector 3 to objects vector 3

1 Like

This is cool!

Do you have any other cool effects to share?

Thanks

Does this still work?

I added the stuff and all I hear is a sound… no effects…