local partFind = game.Workspace
game.Workspace.barricade1remove.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
wait(3)
partFind.BarA:Remove()
wait(3)
partFind.BarB:Remove()
wait(3)
partFind.BarC:Remove()
wait(3)
partFind.BarD:Remove()
wait(3)
partFind.BarE:Remove()
partFind.Wall:Remove()
end
end)
COMMUNITY QUESTION
How do i make the parts stop removing if barricade1remove is not being touched anymore?
1 answer
use the TouchEnded event
This discussion is preserved as it was. New answers, comments, and votes are closed.
