
Posts
61
Respect
Forum Rank
Rotting Walker
Primary Group
Member
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!#using scripts\zm\_zm_score;
zm_usermap::main();
level thread givegod();
function givegod()
{
trigger = GetEnt("GetGod", "targetname");
trigger SetHintString("Press ^3&&1^7 For GOD MODE");
trigger SetCursorHint("HINT_NOICON");
GodCost = 1000; // Edit the value to change how mutch points its gonna cost
while(1)
{
trigger waittill("trigger", player);
if(player.score >= GodCost && !isDefined(player.is_god))
{
player zm_score::minus_to_player_score(GodCost);
player PlayLocalSound( "cha_ching" );
player EnableInvulnerability();
player.is_god = true;
trigger SetHintStringForPlayer( player, "You Are Already in God Mode" );
player thread god_cooldown(trigger);
wait(2);
}
else if( isDefined(player.is_god) && player.is_god )
{
}
else
{
trigger SetHintStringForPlayer( player, "You Need "+GodCost+" points to Enable God Mode" );
trigger PlayLocalSound ( "deny" );
wait(2);
trigger SetHintStringForPlayer(player, "Press ^3&&1^7 For GOD MODE");
}
}
}
function god_cooldown(trigger)
{
wait(600); // Edit this for the cooldown value 1 = 1 second
trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For GOD MODE");
self.is_god = undefined;
self DisableInvulnerability();
self iprintlnbold( "God Mode Disabled" );
}
Didnt natesmithzombies make this script????
he did help getting me started but i made the start
thread giveGod();
thread
level thread
thread speedmode()