game.Workspace.Sound:Play()
The sound in workspace plays but everyone can hear it, it's meant to be for the introduction to my game. Please help
game.Workspace.Sound:Play()
The sound in workspace plays but everyone can hear it, it's meant to be for the introduction to my game. Please help
Do it in a LocalScript. Right-click on StarterGui and then click LocalScript.
Then you can do (assuming you aren't used to FilteringEnabled or StarterPlayer):
local sound = Instance.new("Sound", game.Players.LocalPlayer)
sound.Name = "MySound"
sound.Volume = 1 --Sound Volume (0-1)
sound.Pitch = 1 --SoundPitch (0-1)
sound.SoundId = "http://www.roblox.com/asset/?id=".. YourSoundId --Add your Sound ID
sound:Play()
This discussion is preserved as it was. New answers, comments, and votes are closed.