Playing a local audio on studio?

Hello!

I’ve seen people play audio files on Studio from their PC. I was wondering, how do I do this?

1 Like

You cannot do that in normal Roblox studio unless you use a plugin but I don’t think that there’s one for that and there’s no need for one to exist currently since you can just go to the library’s audio tab and choose the audio ID that you want and simply past it in a sound.

But do not lose hope, you can still always request a new feature for Roblox studio to be added here:

If your looking about how to play a local sound that only the player could hear then take a look at the :PlayLocalSound() API Reference here: :PlayLocalSound() API Reference

Hope this helped you. :slightly_smiling_face:

2 Likes

Is there a plugin for it right now?

Unfortunately there’s not one available to do that right now but it’s better to request that new feature for Roblox studio than to make a plugin on it in the Platform Feedback ==> Studio Features category but first read this post so you could understand how to request a new feature for Roblox studio there:

1 Like
-- Get a sound file then paste this code into the command bar
--and, select the file and it plays it
local SoundTypes = {"mp3", "aac","flac","ogg", "wma","wav"}
local File = game.StudioService:PromptImportFile(SoundTypes)
local SoundForFile = Instance.new("Sound")
SoundForFile.SoundId = File:GetTemporaryId()
game.SoundService:PlayLocalSound(SoundForFile)