Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dfpwm = require("cc.audio.dfpwm")
- local speaker = peripheral.find("speaker")
- local again = true
- if speaker == nil then
- again = false
- error("[Robsom] Speaker não encontrado")
- end
- local li = {
- {name = "Ia Ri o Roi", link = "https://cdn.discordapp.com/attachments/1093584787589058591/1093584864999116851/AJR_-_3_OClock_Things_Official_Video.dfpwm?ex=662a8fc5&is=66181ac5&hm=918123737fa669a7785d2f234836ae6054aaa84570c3352ae858f04c437a0dfc&"},
- {name = "Não sei o nome", link = "https://cdn.discordapp.com/attachments/1093584787589058591/1093584865313685637/AJR_-_BANG_Official_Video.dfpwm?ex=662a8fc5&is=66181ac5&hm=1bd940569008bf450072d8129b7f4bd748b2213a84b19ff4ffc5a4c3e3867317&"},
- {nome = "Liber extravaza", link = "https://cdn.discordapp.com/attachments/1093584787589058591/1093584866047692900/AJR_-_Christmas_in_June_Official_Video.dfpwm?ex=662a8fc5&is=66181ac5&hm=37b9300aa60a63a9f00388c514ef9183a54744376d3d3a312a320eba42f7031e&"},
- }
- while again == true do
- print("[Robsom] Reproduzindo playlist")
- shell.run("speaker play "..li[1].link)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement