playSound

fun playSound(name: String, volume: Float, pitch: Float)

Play a sound at the player location.

Parameters

name

the name of the sound

volume

the volume of the sound

pitch

the pitch of the sound

Sources

Link copied to clipboard