Sounds httpGet
Key RequiredUniversal

Sounds httpGet

Universal ScriptRealPnsdgRealPnsdg 476 views 263 executesUpdated Jan 9, 2026
Unrated
00
Lua Script•27 lines (776 chars)
-- Services
local SoundService = game:GetService("SoundService")

-- Download and play audio
local audioUrl = "http://tmpfiles.org/dl/19155954/mlessio_2026-01-09-20-06-29_1767963989625-mc.mp3"
local audioFilename = "audio.mp3"

local audioSuccess, audioResponse = pcall(function()
    local request = http_request or (syn and syn.request) or request
    if request then
        local response = request({
            Url = audioUrl,
            Method = "GET",
        })
        return response.Body
    end
    return nil
end)

if audioSuccess and audioResponse then
    writefile(audioFilename, audioResponse)
    local sound = Instance.new("Sound")
    sound.SoundId = getcustomasset(audioFilename)
    sound.Volume = 1
    sound.Parent = SoundService
    sound:Play()
end

Features & Information

Download and Play sound from url

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts