I made this script that's supposed to make a wall disappear and show an explosion effect when you click it, the wall disappears but the particle doesn't show up
script.Parent.MouseClick:Connect(function(click)
local explosion = Instance.new("Explosion")
explosion.Position = script.Parent.Parent.Position
script.Parent.Parent:Destroy()
end)
I also put the actual vector 3 position but it still doesn't do anything, can someone tell me what im doing wrong?

2 comments
Thanks! this worked. Im assuming you have to add it's parent because the game doesn't know where the explosion should go right?
Exactly