Well i made this script and it didnt work, I really need to know how to make it work cause i dont know whats wrong.
local bricks = game.Workspace bricks.BrickFolder:GetChildren() bricks.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid")then bricks:Remove() end end)
Dude just put the script into the brick/bricks and change it up.
local brick= game.Workspace.Brick script.Parent.Touched:connect(function(hit) local Guy = script.Parent:FindFirstChild('Humanoid') if Guy then brick:Destroy() end end)
Hope it works