var oldHitChance1 = UI.GetValue("Rage", "SCOUT", "Accuracy", "Hitchance");
var oldAccBoost1 = UI.GetValue("Rage", "SCOUT", "Accuracy", "Accuracy boost");
var oldHitChance = UI.GetValue("Rage", "AUTOSNIPER", "Accuracy", "Hitchance");
var oldAccBoost = UI.GetValue("Rage", "AUTOSNIPER", "Accuracy", "Accuracy boost");
UI.AddCheckbox("Scout/Scar jump Hitchance");
UI.AddSliderInt("Hitchance", 1, 100);
UI.AddSliderInt("Accuracy Boost", 1, 100); // Кто сделал эту строчку, хуесос, потому что нету в чите акурси буста. Наёбщик ебанный.
UI.AddLabel(" made by lil uzzi");
var isInAir = function(){
if(Global.IsKeyPressed((0x20))){
return true;
}else{
return false;
}
}
function updateValues(){
if(isInAir()){
var Hitchance = UI.GetValue("Script Items","Hitchance");
var AccuracyBoost = UI.GetValue("Script Items", "Accuracy Boost");
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", Hitchance);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Accuracy boost", AccuracyBoost);
UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Hitchance", Hitchance);
UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Accuracy boost", AccuracyBoost);
}else{
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", oldHitChance1);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Accuracy boost", oldAccBoost1);
UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Hitchance", oldHitChance);
UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Accuracy boost", oldAccBoost);
}
}
Global.RegisterCallback("CreateMove", "updateValues");