HELP NEEDED!~Radio won't work

Hello!

Summary: Script is not playing music and random picker

I need some help with the music programming for a radio I am making. So essentially the action I’m trying to script is when you click the start gui button on the radio, a random song will be picked and will start playing, thus continuing the playlist of songs from that song. I also want the start button to change to say “skip” after being clicked so a new song can be selected if the player doesn’t like the song currently playing. When the stop button is pressed I want the music to stop playing and for the play button to say “play” again(not pause). THE REASON WHY THIS IS NOT WORKING IS NOT BECAUSE I DON’T OWN THE MUSIC. I CREATED AND UPLOADED IT AFTER THE NEW AUDIO UPDATE. Anyways nothing is happening when I test this in game and I don’t know what else I can do to fix this. Please help if you can!!! Here are some pictures of the script and explorer:



robloxapp-20220420-2147095.wmv (3.4 MB)

1 Like

Did you assign the music object with roblox id?

No, but the sound should play anyway because I have the script make them play when selected and the audios are identified in the variables at the top of the script. Also, I already tried making it to where I changed the script to where instead of the audio playing, directly it changed the music object soundId, which still didn’t work.