


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!if(level.ugxm_settings["gamemode"] == 0 || level.ugxm_settings["gamemode"] == 2 )
{
example();
}

song1_buy()
{
user = undefined;
cost = 1000; //change to cost that you want
self setCursorHint("HINT_NOICON");
self UseTriggerRequireLookAt();
//self setHintString("The power must be activated first"); //remove line if you want it to work without power
//flag_wait( "electricity_on" ); //remove line if you want it to work without power
self setHintString("press &&1 to buy a song [Cost: "+cost+"]"); //text hint trigger
while(1)
{
self waittill("trigger", user);
if( is_player_valid(user) && user.score >= cost )
{
play_sound_at_pos( "cha_ching", self.origin );
user thread maps\_zombiemode_score::minus_to_player_score( cost );
self delete();
thread maps\ugx_jukebox::add_song("Gotcha bitch", "song1");
wait(0.1);
}
else
{
play_sound_at_pos( "no_cha_ching", self.origin );
wait(0.1);
}
wait(0.1);
}
}

level.ugxm_settings["timed"]
3. What model are you trying to delete? The Jukebox model? O_o

i am triying to delete the CD model of the songs, not the jukebox!
You are trying to delete the CD inside the machine? Not gonna have any luck with that, the whole jukebox is a single model with multiple influences.

no this is not related with the jukebox, i want to do when guy active the trigger it delete the model