Sound delay script help

i was trying sounds for my game and i found one but i dont want it to be playing right after somone joins the game
i tried:

wait(5)
game.Workspace.Sound:play("sound1")

but it did not work

  1. The format you used is wrong, the “p” should be capital 2) There are no arguments in the :Play() function.
    The correct format would be game.Workspace.Sound:Play(). Replace “Sound” with the name you gave to the sound element.

Thank you so much! I was trying to make that happen for more than 3 weeks

1 Like

Well you could’ve just looked at the DevHub. This is the article: Sound | Documentation - Roblox Creator Hub
In any case, glad I could help!

Thank you, i really appreciate it

1 Like