How do i make a audio play every couple of minutes?

Hey, Could anyone be willing to help me with a script? I kinda need to know a script that can make a Roblox audio play every couple of minutes! (I’m mostly a Builder not Scripter.)

1 Like

You could use wait()? I’m not much of a scripter either but I guess you can have the regular audio playing script, and then have a wait()

2 Likes

You could use os.time between each wait. After you have that, just :Play() your audio.

I dont get it, I’s there like a script model i can take or like a copy and paste script?

1 Like

There are multiple tutorials on YouTube that can help you with os.time.

https://www.youtube.com/results?search_query=os.time+roblox

2 Likes

Okay sorry, I guess @anxyeity reply will help out. :slight_smile:

1 Like

Oh! That’s epic! I’ve been looking for it but couldn’t find any, Thanks!

1 Like

The scripting support category is not intended to spoon feed you, we help people to debug and fix their code. You can try researching yourself, but here’s some API refs:

Roblox Globals | Documentation - Roblox Creator Hub (specially the wait function)

You can read these and find some properties, functions, events and etc. that can be used

EDIT: Also search for while loops

3 Likes
while wait(120) do
game.Workspace.Sound:Play()

Thats the only solution I can think of.

4 Likes

Hey Reis, I need the same thing. Thanks @Raretendoblox for the link!

1 Like

Yeah! It would be really helpful in my ETIIFM game and it would help your IOF game too!

2 Likes