Help adding an explosion

Hello, I am working on a FPS game, of mine. and I am using the new and fixed Fe gun kit by bluric_64bit, and I added a RPG to my game. I already created a custom explosion, all I need is a snippet of code which makes so that whenever the projectile hits, something a explosion should be added to the workspace.

Any help, would be appreciated! Please don’t hesitate to ask about something.

Meant2Win

1 Like

https://developer.roblox.com/en-us/api-reference/class/Explosion

There’s an existing class for this, if you choose to use it.

1 Like
--code for when the projectile hits
local explosion = Instance.new("Explosion",workspace)
explosion.Position = (the position that the rocket hit)

Nvm, i fixed it. Thanks anyways