Hello , I'm trying to make something disappear and when it disappear , it's has to make a noise (soundid) , somebody did this script for me but it's not like I want , it's not making sound , it's not making it disappear .
function x(hit)
script.Parent.Anchored = false
script.Parent.GlassSound:Play()
script:Destroy()
end
script.Parent.Touched:connect(x)
Hope somebody can help me :/ Thanks

3 comments
he is also looking to unanchor the part and i don't think you noticed that
I don't wanna unachor it but like that the brick fall to the void when somebody touch it and that when I touch it there is a sound
So just to clarify. When a player touches that specific brick the brick makes a sound and falls down through the ground?