Alright, so I'm making a pinewood type of game and I tried doing this code:
game.Workspace.TenToZero.Value.Changed:connect(function()
if game.Workspace.TenToZero.Value.Value == true then
while true do
game.Workspace.Part.Anchored = false
expa.Position = game.Workspace.Part
expa.Parent = script.Parent.Position
expa.BlastPressure = 9999999
wait(0.4)
end
end
end)
I'm trying to make this explode one part and then go to another, but it doesn't work properly. Is there a way to fix this?

1 comment
well if u used a table ( which has the parts in them ) and looped through the parts then it would blow them up one after the other