Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I want to make my speaker to emit sound, can someone help me?

game.Workspace["Speaker 1"].Part.Sound.Playing = true
game.Workspace["Speaker 1"].Part.Sound.MaxDistance = 100
wait (5)
-- I'm trying to make the speaker to play music, it's not working.

1 answer

to play a sound you just do

Sound:Play()

so in your case it will be

game.Workspace["Speaker 1"].Part.Sound:Play()
game.Workspace["Speaker 1"].Part.Sound.MaxDistance = 100
wait (5)
--To pause you would just do Sound:Pause()

also make sure that the sound is already loaded in and that the sound isn't too low to where you can't hear it

This discussion is preserved as it was. New answers, comments, and votes are closed.