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

Radio script wont play audio, How can I fix this?

I made a script that will play radio chatter every 60 seconds, doesn't seem to be working.

Any ideas?

local Audio = script.Parent["Vietnam War Radio Chatter - Briefing"]
if	Audio.IsPlaying == false and Audio.IsPaused == true then
	Audio.IsPlaying = true
	Audio.IsPaused = false
	print("playing audio")
	wait(60)
	Audio.IsPlaying = false
	Audio.IsPaused = true
end

1 answer

✓ Accepted answer

You need to use an audio id for this instead of the name of the audio

2 comments

0

Thanks! I also forgot to make everything loop, but you set me in the right direction!

0

No problem :)

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