def key_listen_call(self, *args) : key = str(listen.key(self)) key = key.replace("'", "") if args[0] == "rapid fire" : self.rapid_fire_key_but.text = key draw.rapid_fire_key = key if args[0] == "silent aim" : self.silent_aim_key_but.text = key draw.silent_aim_key = key if args[0] == "aimbot" : self.aimbot_key_but.text = key draw.aimbot_key = key if args[0] == "triggerbot" : self.triggerbot_key_but.text = key draw.triggerbot_key = key if args[0] == "thirdperson" : self.thirdperson_key_but.text = key draw.thirdperson_key = key last.write(self, "temp.ini") write.config(self, "temp.ini")
def name_of_config_to_write(self, *args) : if ".ini" in self.config_name_input.text : self.config_name_to_save = self.config_name_input.text else : self.config_name_to_save = self.config_name_input.text+".ini" last.write(self, self.config_name_to_save) write.config(self, self.config_name_to_save)
def spinners(self, spinner, text, *args): if spinner == "sounds" : draw.sound = args[0] elif spinner == "weapon_to_change" : draw.weapon_to_change = args[0] elif spinner == "skin_to_change" : draw.skin_to_change = args[0] last.write(self, "temp.ini") write.config(self, "temp.ini")
def on_checkbox_Active(self, isActive, *args) : if args[0] == "glow" : draw.glow_active = isActive elif args[0] == "chams" : draw.chams_active = isActive elif args[0] == "chams_allies" : draw.chams_allies = isActive elif args[0] == "chams_ennemies" : draw.chams_ennemies = isActive elif args[0] == "glow_allies" : draw.glow_allies = isActive elif args[0] == "glow_ennemies" : draw.glow_ennemies = isActive elif args[0] == "glow_health_based" : draw.glow_health_based = isActive elif args[0] == "chams_health_based" : draw.chams_health_based = isActive elif args[0] == "aimbot" : draw.aimbot = isActive elif args[0] == "triggerbot" : draw.triggerbot = isActive elif args[0] == "rcs" : draw.rcs = isActive elif args[0] == "rapid fire" : draw.rapid_fire = isActive elif args[0] == "Silent Aim" : draw.silent_aim = isActive elif args[0] == "crosshair" : draw.crosshair = isActive elif args[0] == "third person" : draw.third_person = isActive elif args[0] == "fov" : draw.fov = isActive elif args[0] == "fake lag" : draw.fake_lag = isActive elif args[0] == "hitsound" : draw.hitsound = isActive elif args[0] == "sound esp" : draw.sound_esp = isActive elif args[0] == "show money" : draw.show_money = isActive elif args[0] == "no flash" : draw.no_flash = isActive elif args[0] == "radar" : draw.radar = isActive elif args[0] == "bhop rage" : draw.bhop_rage = isActive elif args[0] == "bhop legit" : draw.bhop_legit = isActive elif args[0] == "stattrack_active" : draw.stattrack_active = isActive last.write(self, "temp.ini") write.config(self, "temp.ini")
def read_config(self, *args) : self.config_to_load_name = self.spinnerObject_configs.text last.write(self, self.config_to_load_name) read.config(self, self.config_to_load_name) ui_color_rgba = self.rgba(draw.ui_color) self.visuals.background_color = ui_color_rgba self.settings.background_color = ui_color_rgba self.aim.background_color = ui_color_rgba self.misc.background_color = ui_color_rgba self.config.background_color = ui_color_rgba
def on_change_slider(self, value, name) : if name == "slider1" : try : self.rl_aim.remove_widget(self.perfect_value_label) except : pass value = round(value, 1) self.perfect_value_label = Label(size_hint =( 0.1, 0.1), pos_hint ={"top":0.87, "right": 0.99}, text = str(value)) draw.rcs_perfect = value self.rl_aim.add_widget(self.perfect_value_label) elif name == "slider2" : try : self.rl_aim.remove_widget(self.delay_value_label) except : pass value = round(value, 1) self.delay_value_label = Label(size_hint =( 0.1, 0.1), pos_hint ={"top":0.68, "right": 0.70}, text = str(value)) draw.t_delay = value self.rl_aim.add_widget(self.delay_value_label) elif name == "slider3" : try : self.rl_misc.remove_widget(self.fov_value_label) except : pass value = round(value, 1) self.fov_value_label = Label(size_hint =( 0.1, 0.1), pos_hint ={"top":0.87, "right": 0.99}, text = str(value)) draw.fov_value = value self.rl_misc.add_widget(self.fov_value_label) elif name == "slider4" : try : self.rl_misc.remove_widget(self.fake_lag_value_label) except : pass value = round(value, 1) self.fake_lag_value_label = Label(size_hint =( 0.1, 0.1), pos_hint ={"top":0.1, "right": 0.71}, text = str(value)) draw.fake_lag_value = value self.rl_misc.add_widget(self.fake_lag_value_label) last.write(self, "temp.ini") write.config(self, "temp.ini")
def on_color(self, instance, value): if value != [1.0, 1.0, 1.0, 1] : if draw.name == "allies_glow" : draw.allies_glow_color = value elif draw.name == "ennemies_glow" : draw.ennemies_glow_color = value elif draw.name == "allies_chams" : draw.allies_chams_color = value elif draw.name == "ennemies_chams" : draw.ennemies_chams_color = value elif draw.name == "ui_color" : draw.ui_color = value self.visuals.background_color = value self.settings.background_color = value self.aim.background_color = value self.misc.background_color = value self.config.background_color = value last.write(self, "temp.ini") write.config(self, "temp.ini")
def save_config(self, *args) : if self.spinnerObject_configs.text != "Select" : self.config_name_to_save = self.spinnerObject_configs.text write.config(self, self.config_name_to_save) last.write(self, self.config_name_to_save)
def active_skins_mgmnt(self, value) : if value == "Active skins" : return elif value == "update" : keyboard.send("f6") elif value == "delete" : entry_to_del = draw.skinchanger_active_weapons_selected self.active_weapons.remove(entry_to_del) self.spinnerObject_active_weapons.values = self.active_weapons entry_to_del_conf, skin = entry_to_del.split(" : ") entry_to_del_conf = entry_to_del_conf.replace(" ","_").replace("-","") setattr(draw, entry_to_del_conf,"0") setattr(draw, entry_to_del_conf+"_f", 0) setattr(draw, entry_to_del_conf+"_st", False) setattr(draw, entry_to_del_conf+"_stv", 0) setattr(draw, entry_to_del_conf+"_se", 0) last.write(self, "temp.ini") write.config(self, "temp.ini") elif value == "add" : if draw.weapon_to_change in self.all_knives : draw.knife = draw.weapon_to_change draw.knife_skin = draw.skin_to_change for x in self.active_weapons : if x.startswith(" ") : x = x.replace(" ","") a, b = x.split(":") a = a.replace("\n","").replace("\r","") a = a[:-1] if a in self.all_knives : self.active_weapons.remove(x) self.active_weapons.append(draw.weapon_to_change+" : "+draw.skin_to_change) self.spinnerObject_active_weapons.values = sorted(self.active_weapons) if draw.stattrack_active : draw.knife_st = True draw.knife_stv = draw.stattrack_value else : draw.knife_st = False draw.knife_stv = 0 draw.knife_se = draw.seed_value else : self.active_weapons = [x for x in self.active_weapons if not x.startswith(draw.weapon_to_change)] self.active_weapons = [x for x in self.active_weapons if not x.startswith(" "+draw.weapon_to_change)] self.active_weapons.append(draw.weapon_to_change+" : "+draw.skin_to_change) self.spinnerObject_active_weapons.values = sorted(self.active_weapons) draw.weapon_to_change2 = draw.weapon_to_change.replace(" ","_").replace("-","") setattr(draw, draw.weapon_to_change2, draw.skin_to_change) setattr(draw, draw.weapon_to_change2+"_f", draw.float_value) if draw.stattrack_active : setattr(draw, draw.weapon_to_change2+"_st", True) setattr(draw, draw.weapon_to_change2+"_stv", draw.stattrack_value) else : setattr(draw, draw.weapon_to_change2+"_st", False) setattr(draw, draw.weapon_to_change2+"_stv", 0) setattr(draw, draw.weapon_to_change2+"_se", draw.seed_value) last.write(self, "temp.ini") write.config(self, "temp.ini")