--{Breakable Bridges}--

--breakableBridge1
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableBridge1 = game.Workspace.map.breakableBridge1

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableBridge1:Destroy()
    end
end)    

--breakableBridge2
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableBridge2 = game.Workspace.map.breakableBridge2

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableBridge2:Destroy()
    end
end)

--breakableBridge3
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableBridge3 = game.Workspace.map.breakableBridge3

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableBridge3:Destroy()
    end
end)

--{Breakable Doors}--

--breakableDoor1
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableDoor1 = game.Workspace.map.breakableDoor1

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableDoor1:Destroy()
    end
end)

--breakableDoor2
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableDoor2 = game.Workspace.map.breakableDoor2

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableDoor2:Destroy()
    end
end)

--breakableDoor3
local breakingSound = game.Workspace.Sounds.breakingSound
local breakSound = game.Workspace.Sounds.breakSound
local breakableDoor3 = game.Workspace.map.breakableDoor3

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        breakingSound:Play()
        wait(3)
        breakSound:Play()
        breakableDoor3:Destroy()
    end
end)

--{Kill Bricks}--

--killBrick1
script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        hit.Parent.Humanoid.Health = 0
    end
end)

--killBrick2
script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        hit.Parent.Humanoid.Health = 0
    end
end)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: