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 a sound that people near me can hear, but how?

Ok, so the last question forget it, this is for real now I'm trying to make a morph make a sound every couple of minutes, but it wont do crap, it doesn't even make the sound

HERES THE SCRIPT IM USING AND YES IM PUTTING THEM IN THE HEAD ALONG WITH THE SOUND

wait(0.1) script.Parent.Sound:Play() wait(1) script.Parent.Sound:Stop() wait(0.0001) script.Parent.Sound:Play()

2 answers

while true do
	wait(0.1) 
	script.Parent.Sound:Play() 
	wait(1) 
	script.Parent.Sound:Stop() 
end			

Try this.

Try using this:

local Sound = script.Parent.Sound

local CProvider = game:GetService("ContentProvider")
CProvider:Preload(Sound.SoundId)

while wait(0.1) do
	Sound:Play()
	wait(1)
	Sound:Stop()
end

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