Hello I'm reposting this because I still don't have any awnsers :/
I'm trying to make something DISAPPEAR and when the brick is touched it has to make a noise (sound id) , somebody did this script for me but it's not like I want , it's not making sound , it's not making it disappear , it's unanchoring it
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

2 comments
You should not repost questions as they will be moderated as duplicated.
You want the scripts parent to be destroyed since this is the part.