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
function x(hit) script.Parent.Anchored = false script.Parent.GlassSound:Play() script.Parent:Destroy() end script.Parent.Touched:connect(x)
thats the script you need (look at the comments tho)
Marked as Duplicate by minikitkat
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?