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

How Do You Preload a Sound? [ANSWERED]

Asked by 9 years ago

[ANSWERED] How do you preload a sound? When I play the game, it doesn't play the sound.

1while true do
2    game.Soundscape.Sound:Play()
3    wait(120.11100000000000421)
4end

Thank you!

1 answer

Log in to vote
0
Answered by 9 years ago
1local sound = Instance.new("Sound")
3sound.Looped = true
4sound.Parent = game.Soundscape
5sound:Play()
Ad

Answer this question