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

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

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

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()
while true do
wait(1)
script.Music:Play()
end

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

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