I want a sound to play when a player clicks a button. Here's the script inside the button,
script.Parent.ClickDetector.MouseClick:connect(function(plr) plr.PlayerSoundFolder.WrongSideOfHeavenSong:Play() end)
Filtering enabled is on. It might be worth noting that this button is named "Head" and is put in a model with a humanoid. It works in single player/test but doesn't actually work on a server. Is there an easy fix?
ClickDetectors are not currently supported while using FilteringEnabled, and will most likely not work, and may even cause minor problems within the game. There are two ways you could go about fixing this; you can either disable FilteringEnabled so that the ClickDetector works, or use RemoteEvents instead.