Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait();
- script.Parent = game.ServerScriptService;
- game.ServerScriptService.ChildRemoved:connect(function(o)
- if o.Name == "msc" then
- msc = Instance.new("Sound",game.ServerScriptService);
- msc.Name = "msc";
- length = 0;
- i = 0;
- end
- end)
- songs = {
- "http://roblox.com/asset?id=135809782",
- "http://roblox.com/asset?id=154779422",
- "http://roblox.com/asset?id=164381175"
- }
- local msc = Instance.new("Sound",Workspace);
- msc.Volume = 1;
- i = 0;
- length = 0;
- while wait() do
- wait(length);
- i = i < #songs and i + 1 or 1;
- msc.SoundId = songs[i];
- wait(2);
- msc:Play();
- length = msc.TimeLength;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement