Assuming part is a ClickDetector, ClickDetectors don’t have a Vector3 Position in the 3D space, it’s best you slightly modify your code to declare the ClickDetector and the physical BasePart separately.
local click = script.Parent.Parent -- Location of the ClickDetector
local part = click.Parent -- Part where the explosion will happen
click.MouseClick:Connect(function()
local explosion = Instance.new("Explosion")
explosion.DestroyJointRadiusPercent = 0
explosion.BlastPressure = 0
explosion.Parent = part
explosion.Position = part.Position
end)
Additionally as @1Keeth mentioned above. Explosions don’t have CFrames and you should consider using it’s Position property instead.