So basically this script is about a player touching a part then playing a 15 second song. But what happens is that it plays instantly when I test my game. How do I fix it so it doesn't play instantly?
Song = script.Parent.sound
function PlaySong()
Song:Play()
wait(15)
Song:Stop()
end
game.workspace.soundplayer.Touched:connect(PlaySong)
It's in script is a local script under the startergui and sound is also inside aswell
Edit: I think it may just be a bug. I just tested it again but not in test mode. Doesn't play weird.
