I am developing a town model for my new game and i need music in each town/city/route but their is a big problem. I keep scripting in a brick that plays music but each time it repeats the music whenever i play. I tried cindering's model (Did not work). So. I have found out about that you can play music in certain areas. I do not know how to script it (Because i cannot use YouTube right now). If you guys know what script it is please tell me! Thanks Please help too! (PS u like the t shirt i just made :D) Also i need the brick to be...... cannot collide.. ya....
Use Region 3
or you can do it the ez way.
Something that would look like this...
local e = workspace.Song2 local f = workspace.Song1 script.Parent.touched:Connect(function() f:Play() e:Stop() end)
And then for the 2nd part
local f = workspace.Song1 local e = workspace.Song2 script.Parent.touched:Connect(function() e:Play() f:Stop() end)
I MIGHT BE INCORRECT. Because I'm too lazy to try it. But to me it seems correct. OH also 1 more thing. This only works for the whole server. It doesn't work for you locally. Otherwise might as well resort to the best option which is REGION3 WOOO!
Closed as Not Constructive by SerpentineKing and DeceptiveCaster
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?