MonitorButtons()
{
self endon("disconnect");
for(;
{
if(self actionSlotthreeButtonPressed() && self GetStance() == "crouch")//dpad left
{
self thread doGod();
wait .12;
}
if(self actionSlotTwoButtonPressed() && self GetStance() == "crouch")//dpad down
{
self thread example2();
wait .12;
}
if(self actionSlotFourButtonPressed() && self GetStance() == "crouch")//dpad right
{
self thread example3();
wait .12;
}
if(self actionslotonebuttonpressed() && self GetStance() == "crouch")//dpad up
{
self thread example4();
wait .12;
}
wait .05;
}
}
Here is the blind function,You would add this under playerSpawn
doGod()
{
if(self.God==false)
{
self iPrintln("^6 Enabled!");
self.maxhealth=999999999;
self.health=self.maxhealth;
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("^6 Disabled!");
self.maxhealth=100;
self.health=self.maxhealth;
self disableInvulnerability();
self.God=false;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.