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.