Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Music = {};
- local URL = game:HttpGet("https://epicgameronmylevel696969.000webhostapp.com/Data.json",game:GetService("HttpService"))
- local Json = game:GetService("HttpService"):JSONDecode(URL)
- for i,v in pairs(Json) do
- Music[v.Name] = v.SoundId
- end
- for i,v in pairs(Music) do
- local SoundInstance = Instance.new("Sound",game:GetService("Lighting"))
- if SoundInstance.TimePosition < 0.05 then
- SoundInstance:Destroy()
- table.remove(Music,v.Name)
- end
- end
- return Music
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement