So, um... I have a script that I was wanting to locally play music when you touch it and stop playing all other sounds, but I don't know how to make it local and the music doesn't play.
function OnTouch (hit)
workspace.Sounds.ambient.stop()
workspace.Sounds.musicambient.stop()
workspace.Sounds.engine.play()
end

1 comment
script.Parent.Touched:Connect(OnTouch) -- Inside a script in a brick.