Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2801

Help and Support • Final Music lua problem

$
0
0
Alright, this is going to be my final one,so how should I fix this?
So, this is the original code:

Code:

function onEvent(eventName)if(eventName == "musictrigger1") thenAudio.MusicChange(0, "Wario Land Shake It! OST - Bad Manor.ogg", 200)endif(eventName == "musictrigger2") thenAudio.MusicChange(0, "Wario Land Shake It! OST - Bad Manor.ogg", 200)endend
And it's cool and all but what if I want to put more custom music? Of course putting a third one doesn't works,so is there a way to put in not 2 but like 3,4,5 or more?

Statistics: Posted by Levekmaker_123 — Fri Sep 20, 2024 10:27 am



Viewing all articles
Browse latest Browse all 2801

Trending Articles