Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local find = game.Workspace:FindFirstChild("ServerSound")
- local find2 = game.ReplicatedStorage:FindFirstChild("SoundTransmitter")
- while true do
- wait()
- for i,v in pairs (game.ServerStorage["Gui + Songs"].Songs:GetChildren()) do
- if v.ClassName == "IntValue" and v.Value ~= "0" then
- find.SoundId = "rbxassetid://".. v.Value
- find:Play()
- wait(2.5)
- local soundname = game:GetService("MarketplaceService"):GetProductInfo(v.Value, 0)
- find2:FireAllClients(soundname.Name)
- wait(find.TimeLength)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement