Page 1 of 1

(Request)How can I play custom sounds?

Posted: Sat Nov 05, 2022 7:58 pm
by Shodax
Hello. I wanted to know how I can do to play a custom sound every time an event is triggered. I don't know if this script works

Code: Select all

function onEvent(eventName)
	
	if eventName == "gumba" then
        SFX.play("detrasdeti.mp3")
   end
   
   
end