Workshop.codes
Create

Set Ambient Sound Last updated March 05, 2026

Description

Replaces the map's default ambient audio with a specified sound asset for a defined audience. The ambient sound loops continuously until changed or cleared with Clear Ambient Sound. Useful for custom atmosphere, horror modes, or phase-specific audio environments.

Snippet

Set Ambient Sound(All Players, Sound(Suspense Loop), 80);

Properties

Returns: Void
Parameters: Visible To, Sound, Volume

Visible To
Type: Player, Default: All Players
The players who will hear the ambient sound.

Sound
Type: Sound, Default: None
The sound asset to loop as the ambient audio.

Volume
Type: Number, Default: 100
The volume of the ambient sound, from 0 to 100.

Workshop.codes