Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would I make a music script that plays once?

Asked by 11 years ago

So locally, when a player joins the game, after 10 seconds a sound plays once? I'm not good at this sort of thing...

1 answer

Log in to vote
2
Answered by
Kozero 120
11 years ago

This will play the sound after 10 seconds from a player joining the server.

1function sound()
2local Sound=Workspace.Part --Make sure you  change the" Workspace.Sound" to the position of your  Sound
3wait(10)
4Sound:Play()
5Players.PlayerAdded:connect(sound)
0
perfect thanks Shaydesilva 85 — 11y
Ad

Answer this question