How Do you delete a block when someone touches that block with out a delete tool?
Touch you say?
script.Parent.Touched:connect(function(hit) h = hit.Parent:FindFirstChild("Humanoid") if h then script.Parent:Destroy() end)
Here is a revise. If the mouse it touching a brick. And you also are touching the brick. It will remove the brick. BEWARE OF BASEPLATE!!!
local player = game.Players.LocalPlayer local mouse = player:GetMouse() local human = player.Character:findFirstChild("Humanoid") function OnMove() if mouse.Target.className=="Part" then mouse.Target:connect(function(part) local hum = part.Parent:findFirstChild("Humanoid") if hum ~= nil and hum==human then part:remove() end end) end end mouse.Move:connect(OnMove)