Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make different music for each character that you select and play?

So in the main menu, i have a morph selection GUI, and after you've spawned in, that music starts playing, but if i change my character to something else, it will be different background music. All help is appreciated, thanks in advance.

2 comments

1

I could help, though its generally appreciated that you add your previously coded attempts to your post. Also, it would useful to know if you are playing the music when CharacterAdded is run or if its based on a Gui Event

0

Gui event, when "Play" is pressed, i already made the gui, and it functions.

1 answer

so changing, huh? ok heres some stuff:

function Mouse1()
Sound.SoundId = "rbxassetid://YourSoundIdHere"
end

script.Parent.TextButton1.MouseButton1Click:Connect(Mouse1)

keep on duplicating and changing the numbers to 1,2,3,4 and so on

3 comments

0

I'm not sure where to put the script, and it's a local script right?

0

no

0

put it in workspace

This discussion is preserved as it was. New answers, comments, and votes are closed.