SoundAPI.playSound

Example by JimmyHelp:
sounds:playSound("entity.bat.ambient", player:getPos(),1,1,false)
docs.soundapi.playsound
overload 1:
sound:playSound(sound, pos)
Method Property Fluent Description Representation
sound accepts a String
pos accepts a Vector3
Return Value nil
overload 2:
sound:playSound(sound, posX, posY, posZ)
Method Property Fluent Description Representation
sound accepts a String
posX accepts a Number
posY accepts a Number
posZ accepts a Number
Return Value nil
overload 3:
sound:playSound(sound, pos, volume, pitch)
Method Property Fluent Description Representation
sound accepts a String
pos accepts a Vector3
volume accepts a Number
pitch accepts a Number
Return Value nil
overload 4:
sound:playSound(sound, posX, posY, posZ, volume, pitch)
Method Property Fluent Description Representation
sound accepts a String
posX accepts a Number
posY accepts a Number
posZ accepts a Number
volume accepts a Number
pitch accepts a Number
Return Value nil
a a