local e = Instance.new("Explosion")
e.Parent = script.Parent.Parent.bullet.bulletPart
e.Position = Vector3.new(script.Parent.Parent.bullet.bulletPart.Position.X, script.Parent.Parent.bullet.bulletPart.Position.Y, script.Parent.Parent.bullet.bulletPart.Position.Z)
script.Parent.Parent.bullet.bulletPart:remove()
What is suppose to happen is a a different chunk of code(that was not included here) moves the bullet(with CFrame) a certain distance and then after that, this chunk of code then goes off. The bullet works fine and everything but the explosion is not going off. Why?
bullet is a model and bulletPart is the part inside the model.

2 comments
Is there an error? Is the explosion supposed to go off when it hits a object? If so, do you have a touched event for it? Please give more detail with your question.
It is suppose to go off after the bullet stops moving.