I'm making a bomb gear, and when you click it drops a bomb which then explodes. But for some reason the explosion does not exist, which is very weird.
local tool = script.Parent tool.Activated:Connect(function() local clone = tool.Handle:Clone() clone.Parent = workspace clone.Position = tool.Handle.Position clone.CanCollide = true wait(3) local ex = Instance.new('Explosion') ex.Parent = clone ex.Position = clone.Position ex.BlastRadius = 10 ex.DestroyJointRadiusPercent = 100 clone:Destroy() end)
The problem is the part clone
destroys before the explosion can even be made.
To fix this, just use wait().
wait(1) clone:Destroy()
The part will still be visible while it explodes, so if you want it to explode but not be visible, use this:
clone.Transparency = 1 wait(3) clone:Destroy()