`` local MyFolder = game.Workspace.Assets.HouseParts
local MyTable = game.Workspace.Assets.HouseParts:GetChildren()
local function StartDemolishing()
for i, v in pairs(MyTable) do
wait(3)
v.Color = Color3.fromRGB(255, 52, 52)
v.Material = "SmoothPlastic"
wait(2)
game.Workspace.Sounds.DestroySound:Play()
print("Demolished")
local explosion = Instance.new("Explosion", v) --The explosion doesn't appear?
explosion.Parent = v
explosion.Position = v.Position
local sound = game.Workspace.Sounds.Explode
sound:Play()
v:Destroy()
end
end
local button = game.Workspace.Button2.Button
button.ClickDetector.MouseClick:Connect(function()
button.Color = Color3.fromRGB(255, 0, 0)
button.Material = "Neon"
button.ClickDetector:Destroy()
StartDemolishing()
end) ``

4 comments
Maybe try putting the explosion in workspace
Oh and btw "fromRGB" doesn't work with parts try Color3.new instead
Why are you parenting it twice? Remove the second argument of Instance.new since you already set it with .Parent
Add WaitForChild too, could possibly be the problem