It worked thanks. the only problem i had was that jumping inside the block caused the music to stop and if the block was too big the music was too quiet
@@PixlatedGalaxy keep in mind that if you have a bunch of them they're all gonna wanna start at the same time. i was having issues where it would try calling a part that wasnt loaded in yet, i had a WaitforPart command that kinda brute forced it to work but if you have too many it creates lag. I'm pretty sure initially the music will play for everyone IIRC, in the one i used it was looking for a "Humanoid" to touch it, and i got the music to be player specific by changing the part it was looking for to be a player. I haven't tried anything but my idea for long term loading would be the script for the next areas music is disabled, the player triggers an event thats near the music part, that event enables the script. If you try it and run into issues i dont think i can help you because i haven't even touched studio in a while. Good luck
Everything works except when I spawn inside of the box. For some reason it won’t play the audio unless I get out of the zone and go back in, do you know why?
here have this backround music script i made local SoundService = game:GetService("SoundService") local backgroundMusic = SoundService:FindFirstChild("music") -- put music in sound service and name it music if backgroundMusic then backgroundMusic.Looped = true -- Make the music loop backgroundMusic.Volume = 1 -- Set the volume (adjust as needed) backgroundMusic:Play() end it should be a local script and it should be in starter player scripts if you need a script to mute the background music i got u
tysm this really helped with my game :D
lol i love the videos you do:)
I'm new too btw
It worked thanks. the only problem i had was that jumping inside the block caused the music to stop and if the block was too big the music was too quiet
When you jump it stops working, but if you leave and go there again it works fine when jumping. do you have a fix?
@@PixlatedGalaxy i used a completely different method, it was a freemodel called like area music system or something
@@PolyDotAVI Thanks, it worked
@@PixlatedGalaxy keep in mind that if you have a bunch of them they're all gonna wanna start at the same time. i was having issues where it would try calling a part that wasnt loaded in yet, i had a WaitforPart command that kinda brute forced it to work but if you have too many it creates lag.
I'm pretty sure initially the music will play for everyone IIRC, in the one i used it was looking for a "Humanoid" to touch it, and i got the music to be player specific by changing the part it was looking for to be a player.
I haven't tried anything but my idea for long term loading would be the script for the next areas music is disabled, the player triggers an event thats near the music part, that event enables the script. If you try it and run into issues i dont think i can help you because i haven't even touched studio in a while. Good luck
Cool.
Everything works except when I spawn inside of the box. For some reason it won’t play the audio unless I get out of the zone and go back in, do you know why?
here have this backround music script i made
local SoundService = game:GetService("SoundService")
local backgroundMusic = SoundService:FindFirstChild("music") -- put music in sound service and name it music
if backgroundMusic then
backgroundMusic.Looped = true -- Make the music loop
backgroundMusic.Volume = 1 -- Set the volume (adjust as needed)
backgroundMusic:Play()
end
it should be a local script and it should be in starter player scripts
if you need a script to mute the background music i got u