Music for my game. : )

Hello, I am looking at how to add music into games, but I am not that adept at coding, I’ve searched for how to add music into certain parts but I need it to be trigger activated, this is for a collection of music I’ve made, thanks!

3 Likes

Like any sound object you make you need to:

  1. Save the ID of the sound.
  2. Create sound object.
  3. Set SoundId to the saved ID.
  4. Set parent of the sound object. If it’s not parented to any BasePart, it will be globally played(or locally if the client was playing that).
  5. Play the sound object.
4 Likes

Thank you so much! It worked :smiley: