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

how do i make a script where a player joins it plays a sound?

Asked by 10 years ago

how do i make a script where a player joins it plays a sound?

NO LOOP

1 answer

Log in to vote
2
Answered by 10 years ago

If On enter Like this but when respawn I dont Know.

In Enter

function onPlayerEntered(player)
    repeat wait () until player.Character
    NAMEOFSOUND:Play() --Add In NAMEOFSOUND the Sound's name
end

game.Players.PlayerAdded:connect(onPlayerEntered)
onPlayerEntered(game.Players:WaitForChild("Player1"))  --So thats you can test it in Play Solo
Ad

Answer this question