Local Sounds
Usage
This is basically the local handler, but for sounds, since you can’t call native APIs with the local handler. Usage: * Drop the Local Sounds template on the user or player * Call any of the PlaySound or PlaySound2D variants
function MyScript:OnTriggerEnter(player) -- this will only play for this player player:GetUser().localSoundScript:PlaySound2D(self.properties.sound) end
As a happy coincidence, by exposing the playsound/2d methods on the user, you can also pipe those through adam’s local handler.