They should perform an animation but at the moment nothing happens when the brick is touched.
function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://29517689" anim:Play() end end script.Parent.Touched:connect(onTouched)
You forgot to load your animation into the humanoid.
function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://29517689" local animLoad = h:LoadAnimation(anim) -- An animation has to be loaded into the humanoid animLoad:Play() end end script.Parent.Touched:connect(onTouched)