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:
- Save the ID of the sound.
- Create sound object.
- Set
SoundId
to the saved ID. - 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). - Play the sound object.
4 Likes
Thank you so much! It worked