getcustomasset
function getcustomasset(path: string): stringParameter
Example
-- Will load and play an mp3 sound in-game.
local Encoded = game:HttpGet("https://gitlab.com/sens3/nebunu/-/raw/main/encodedBytecode.txt?ref_type=heads")
writefile("ExampleSound.mp3", crypt.base64decode(Encoded)) -- Write bytes to file
local Retrieved = getcustomasset("ExampleSound.mp3")
local Sound = Instance.new("Sound")
Sound.Parent = workspace
Sound.SoundId = Retrieved
Sound.Volume = 0.35
Sound:Play()Last updated