I looked far into the internet and found a pastebin script to tell me how to put sound id except whenever i start it just plays for a few seconds the stops how can it be fixed?

local sound = Instance.new("Sound")

sound.Name = "Sound" sound.SoundId = "rbxassetid://226200231" -- Song ID at end. sound.Volume = 0.45 -- Derp (I have quality speakers you might need to change this.) sound.Pitch = 1 --Speed of Playback. sound.Looped = true sound.archivable = false

sound.Parent = game.Workspace

wait()

sound:play()

1 comment

0

I put this into a script to test, and everything works fine. Do you get any error?