so im making a script where music stops playing when a part is touched and it needs to be in a local script because only the player who touched it gets the effect and when I put it in a normal script it works but when its in a local script it doesn't and I have no idea what to do. (new scripter btw) script if needed:
game.workspace.Areas.ClearClouds.Shop.door.Touched:connect(function()
game.Workspace.mainmusic.Playing=false
end)

2 comments
Put that in starterGui and it should work
thank you!