Library

Here you will find a very complete 2D and 3D audio system that you can integrate into any script.

FUNCTIONS

PLAYING SOUND

Client.lua
--2D Sound
PlayMusicUrl(musicIdentifier, URL, volume, loop, options)
-- loop and options parameters are optional, so they aren't needed to execute the function

--3D Sound
PlayMusicUrlPos(musicIdentifier, URL, volume, loop, options)
-- loop and options parameters are optional, so they aren't needed to execute the function
  • onPlayStart

  • onPlayEnd

  • onLoading

  • onPlayPause

  • onPlayResume

Manipulation with sound

Position(musicIdentifier, Vector3 vec)
-- Will update location of sound

Effects on sound

Events (client side only)

Getting info about sound

Last updated