I’m trying to launch the music but it doesn’t work with my plugin.
Does it print the warning you put?
No, it doesn’t print, I’m trying to find the solution but I can’t.
Are you running this in-game or in studio? And try testing the id by manually creating a sound.
I’m trying to launch the music with my plugin without being in play mode.
Is the function ever getting ran? What about the print statement you put, does it do anything?
yes it prints well Sound’s parent
Check if the sound is created, and if it is, try clicking on the play button on properties.
I meant in explorer, enable the setting for viewing plugin UIs if that is where the sound is located.
Is the sound you’re trying to play created by you or generally available for use, if the audio isn’t created by you the cause may be due to “Audio Privacy”.
I took it from the toolbox, this is a roblox song
I, funny enough, tried to make a sound bpm visualiser plugin myself, only to realise that it is not possible to play audio in studio with a plugin or command bar (or at least from what i know)
No, in explorer not the output.
I had seen in a post that it was necessary to put just the sound in a Frame and that the Frame must be the children of a DockWidgetPluginGuiInfo
how to see it in the explorer?
Go to studio settings and search for gui, enable something that’s like plugin gui.
I have found a working solution for you. I tested this and it works without having to run, play etc.
You will have to find a way to incorporate this into you’re plugin as the solution’s sample code does not function as a usable plugin by itself.