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 10 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
10 years ago

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

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

Answer this question