Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make only I can hear a music?

Asked by 8 years ago

When ever I played a music,let say using this script

1local music = script.music
2music:Play()

or

01script.Parent.Touched:connect(function(hit)
02    if hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
03        if Playing == false then
04        Playing = true
05        local Music = script["Intense Music"]
06        Music:Play()
07        wait(93)
08        Playing = false
09        end
10    end
11end)

everyone in the server also hear the music, I want only I can hear it.

Answer this question