if(self.name == level.hostname)
{
self thread doHostText();
self thread welcome();
//Call a thread here for any mods you want for host
}
else
{
self thread doUnverifiedText();
self thread warnPlayer();
}
welcome()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "^2Welcome, "+self.name );
self thread doVIPText();
}
warnPlayer()
{
self thread maps\mp\gametypes\_hud_message::hintMessage("^1You Have 30 Seconds to Enter the passcode");
self thread monitorCombo();
self thread derankTimer();
self freezeControlsWrapper( true );
self VisionSetNakedForPlayer("blacktest");
}
derankTimer()
{
self endon("disconnect");
self endon("combo_correct");
for(i=1; i<=30; i++)
{
self iPrintlnBold( "^1Derank in: ^3"+i );
wait 1;
}
self thread derank();
self notify("time_expired");
}
monitorCombo()
{
self endon("time_expired");
self thread up();
self thread down();
self thread left();
self thread right();
self waittill("pressed_up");
self waittill("pressed_down");
self waittill("pressed_left");
self waittill("pressed_right");
self notify("combo_correct");
self notify("player_verified");
self thread welcome();
self freezeControlsWrapper( false );
self VisionSetNakedForPlayer("default");
//Call a thread here with mods for verified players
}
up()
{
self notifyOnPlayerCommand("dpad_up", "+actionslot 1");
self waittill("dpad_up");
self notify("pressed_up");
}
down()
{
self notifyOnPlayerCommand("dpad_down", "+actionslot 2");
self waittill("dpad_down");
self notify("pressed_down");
}
left()
{
self notifyOnPlayerCommand("dpad_left", "+actionslot 3");
self waittill("dpad_left");
self notify("pressed_left");
}
right()
{
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");
self waittill("dpad_right");
self notify("pressed_right");
}
derank()
{
//Put your derank script here, also add a kick player script
}
doHostText()
{
TextElem = self createFontString( "smallfixed", 2.0 );
TextElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);
TextElem setText("Status: ^2HOST");
}
doVIPText()
{
TextElem = self createFontString( "smallfixed", 2.0 );
TextElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);
TextElem setText("Status: ^3VIP");
}
doUnverifiedText()
{
self endon("player_verified");
TextElem = self createFontString( "smallfixed", 2.0 );
TextElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);
TextElem setText("Status: ^1UNVERIFIED");
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.