Untitled

 avatar
unknown
plain_text
3 months ago
2.7 kB
11
Indexable
ToggleLaptop()
{
    if(self.laptop == 0)
    {
        self.laptop=1;
        self.bomb=0;
        self.clicker=0;
        self.rapidfire=0;
        self.walkingsentry=0;
        self iprintln("Laptop Bind ^2ON");
    }
    else if(self.laptop == 1)
    {
    self.laptop = 0;
    self iprintln("Laptop Bind ^1OFF");
    }
}

Togglebomb()
{
    if(self.bomb == 0)
    {
        self.laptop=0;
        self.bomb=1;
        self.clicker=0;
        self.rapidfire=0;
        self.walkingsentry=0;
        self iprintln("Bomb Bind ^2ON");
    }
    else if(self.bomb == 1)
    {
    self.bomb = 0;
    self iprintln("Bomb Bind ^1OFF");
    }
}

Toggleclicker()
{
    if(self.clicker == 0)
    {
        self.laptop=0;
        self.bomb=0;
        self.clicker=1;
        self.rapidfire=0;
        self.walkingsentry=0;
        self iprintln("Clicker Bind ^2ON");
    }
    else if(self.clicker == 1)
    {
    self.clicker = 0;
    self iprintln("Clicker Bind ^1OFF");
    }
}

Toggleclicker()
{
    if(self.rapidfire == 0)
    {
        self.laptop=0;
        self.bomb=0;
        self.clicker=0;
        self.rapidfire=1;
        self.walkingsentry=0;
        self iprintln("Rapid Fire Bind ^2ON");
    }
    else if(self.rapidfire == 1)
    {
    self.rapidfire = 0;
    self iprintln("Rapid Fire Bind ^1OFF");
    }
}

Toggleclicker()
{
    if(self.walkingsentry == 0)
    {
        self.laptop=0;
        self.bomb=0;
        self.clicker=0;
        self.rapidfire=0;
        self.walkingsentry=1;
        self iprintln("Walking Sentry Bind ^2ON");
    }
    else if(self.walkingsentry == 1)
    {
    self.walkingsentry = 0;
    self iprintln("Walking Sentry Bind ^1OFF");
    }
}

Bindsthing() //self thread bindsthing() on the spawn
{
for(;;)
{   
    if(self.laptopbind == 1)
    {
        if( self actionslotonebuttonpressed() && self.menuopen == false)
        {
        self laptop();//WHATEVER THE LAPTOP FUNCTION IS
    }
    else if(self.bomb == 1)
    {
        if( self actionslotonebuttonpressed() && self.menuopen == false)
        {
        self bomb();//WHATEVER THE bomb FUNCTION IS
    }
    else if(self.clicker == 1)
    {
        if( self actionslotonebuttonpressed() && self.menuopen == false)
        {
        self clicker();//WHATEVER THE CLICKER FUNCTION IS
    }  
    else if(self.rapidfire == 1)
    {
        if( self actionslotonebuttonpressed() && self.menuopen == false)
        {
        self rapidfire();//WHATEVER THE rapid fire FUNCTION IS
    }
    else if(self.walkingsentry == 1)
{
        if( self actionslotonebuttonpressed() && self.menuopen == false)
        {
        self walkingsentry();//WHATEVER THE walking sentry FUNCTION IS
    }
wait 0.05;
}
}

    
Editor is loading...
Leave a Comment