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

How do I make it so this sound plays when a person joins?

Asked by 10 years ago

So I know this is easy but tell me how

game.Workspace.WelcomeSound.Sound:Play()

tell me how to make it start playing again when a player joins?

2 answers

Log in to vote
1
Answered by 10 years ago

I am not a good scripter. But I think this is what you need.

game.Players.PlayerAdded:connect(function()
    game.Workspace.WelcomeSound.Sound:Play()
end)

It's a function that plays the sound when a player is added. Hope this helps. I'm sorry if it doesn't. If WelcomeSound is the name of the sound you want to play you just do:

game.Workspace.WelcomeSound:Play()
Ad
Log in to vote
0
Answered by 10 years ago
while true do
wait(1)
script.Music:Play()
end

Then Put Sound form advanced objects. You make make it loop in Properties.

Answer this question