using System; using System.IO; using UnityEngine; namespace stupid.solutions.Utils; public static class Settings { public class SettingsContainer { public bool DrawLootItems = Settings.DrawLootItems; public bool DrawLootableContainers = Settings.DrawLootableContainers; public bool DrawExfiltrationPoints = Settings.DrawExfiltrationPoints; public bool alwayssurvived = Settings.alwayssurvived; public bool DrawPlayers = Settings.DrawPlayers; public bool DrawPlayerName = Settings.DrawPlayerName; public bool DrawPlayerHealth = Settings.DrawPlayerHealth; public bool DrawPlayerBox = Settings.DrawPlayerBox; public bool DrawPlayerLine = Settings.DrawPlayerLine; public Color DeadBodyColor = Settings.DeadBodyColor; public float DrawLootItemsDistance = Settings.DrawLootItemsDistance; public float DrawLootableContainersDistance = Settings.DrawLootableContainersDistance; public float DrawPlayersDistance = Settings.DrawPlayersDistance; public float DrawPlayersRadarDistance = Settings.DrawPlayersRadarDistance; public int xOffset = Settings.xOffset; public int initialYOffset = Settings.initialYOffset; public int itemLineHeight = Settings.itemLineHeight; public int lineWidth = Settings.lineWidth; public int lineX = Settings.lineX; public bool Aimbot = Settings.Aimbot; public bool SilentAim = Settings.SilentAim; public float AimbotFOV = Settings.AimbotFOV; public float AimbotSmooth = Settings.AimbotSmooth; public bool NoRecoil = Settings.NoRecoil; public bool AimbotDrawFOV = Settings.AimbotDrawFOV; public bool Instaheal = Settings.Instaheal; public float expamount = Settings.expamount; public bool EnableSkeleton = Settings.EnableSkeleton; public bool Crosshair = Settings.Crosshair; public bool Flyhack = Settings.Flyhack; public bool Speedhack = Settings.Speedhack; public float Speed = Settings.Speed; public bool Infstamina = Settings.Infstamina; public bool Thermal = Settings.Thermal; public bool Godmode = Settings.Godmode; public bool XPBoost = Settings.XPBoost; public bool CheckVisible = Settings.CheckVisible; public bool InstaSearch = Settings.InstaSearch; public bool DrawInfo = Settings.DrawInfo; public bool playerWeapon = Settings.playerWeapon; public bool grenadeesp = Settings.grenadeesp; public bool NoVisor = Settings.NoVisor; public bool streets = Settings.streets; public bool drawaimpos = Settings.drawaimpos; public bool TeleportItems = Settings.TeleportItems; public bool PlayerInventoryESP = Settings.PlayerInventoryESP; public bool weaponline = Settings.weaponline; public bool flares = Settings.flares; public bool ResetGodmode = Settings.ResetGodmode; public int Aimbone = Settings.Aimbone; public bool changemaincamfov = Settings.changemaincamfov; public float maincamfov = Settings.maincamfov; public bool weaponchams = Settings.weaponchams; public bool alwaysIgnoreRestrictions = Settings.alwaysIgnoreRestrictions; public bool superrare = Settings.superrare; public bool common = Settings.common; public bool kappa = Settings.kappa; public bool quest = Settings.quest; public bool containername = Settings.containername; public bool searchItem = Settings.searchItem; public string searchitem = Settings.searchitem; public float commonitemdistance = Settings.commonitemdistance; public bool BodyESP = Settings.BodyESP; public bool fullbright = Settings.fullbright; public bool DrawRadar = Settings.DrawRadar; public bool DrawPlayersr = Settings.DrawPlayersr; public bool DrawScavs = Settings.DrawScavs; public bool DrawWealth = Settings.DrawWealth; public float RadarX = Settings.RadarX; public float RadarY = Settings.RadarY; public float RadarSize = Settings.RadarSize; public bool MagicBullet = Settings.MagicBullet; public bool CompleteQuests = Settings.CompleteQuests; public bool botaim = Settings.botaim; public bool BulletPenetration = Settings.BulletPenetration; public bool SilentTargetLines = Settings.SilentTargetLines; public bool Chams = Settings.Chams; public bool instahit = Settings.instahit; public bool nojam = Settings.nojam; public bool firerate = Settings.firerate; public bool infammo = Settings.infammo; public bool Update = Settings.Update; public bool HitMarkers = Settings.HitMarkers; public bool tracers = Settings.tracers; public bool invisible = Settings.invisible; public bool tppmc = Settings.tppmc; public bool tpboss = Settings.tpboss; public bool tripwire = Settings.tripwire; public float VisR = Settings.VisR; public float VisG = Settings.VisG; public float VisB = Settings.VisB; public float HidR = Settings.HidR; public float HidG = Settings.HidG; public float HidB = Settings.HidB; public bool Itemspawnmenu = Settings.Itemspawnmenu; public bool SpawnItem = Settings.SpawnItem; public bool ThirdPerson = Settings.ThirdPerson; public KeyCode ClearCache = Settings.ClearCache; public KeyCode tpp = Settings.tpp; public KeyCode teleportitem = Settings.teleportitem; public KeyCode KillAll = Settings.KillAll; public KeyCode UnlockDoors = Settings.UnlockDoors; public KeyCode AimbotKey = Settings.AimbotKey; public KeyCode TPall = Settings.TPall; public KeyCode Instahealkey = Settings.Instahealkey; public bool fillraidbp = Settings.fillraidbp; public bool thicc = Settings.thicc; public bool sicc = Settings.sicc; public bool ammobox = Settings.ammobox; public bool hidenick = Settings.hidenick; public bool farreach = Settings.farreach; public bool removefilters = Settings.removefilters; public bool superrareTP = Settings.superrareTP; public bool kappaTP = Settings.kappaTP; public bool questTP = Settings.questTP; public bool StimTP = Settings.StimTP; public bool stim = Settings.stim; public bool searchTP = Settings.searchTP; public bool fillslots = Settings.fillslots; public bool QuestESP = Settings.QuestESP; public bool DrawOutline = Settings.DrawOutline; public bool DrawSimpleStrings = Settings.DrawSimpleStrings; public float SimpleStringsFOV = Settings.SimpleStringsFOV; public bool DrawDescription = Settings.DrawDescription; public bool artillery = Settings.artillery; public float cachedelayskelet = Settings.cachedelayskelet; public string SICCID = Settings.SICCID; public int fontsize = Settings.fontsize; public bool componentexploit = Settings.componentexploit; public bool drawwishlistitem = Settings.drawwishlistitem; public bool drawhideoutitems = Settings.drawhideoutitems; public bool drawvalue = Settings.drawvalue; public bool filtersuperrare = Settings.filtersuperrare; public bool filterkappa = Settings.filterkappa; public bool filterquest = Settings.filterquest; public bool filterhideout = Settings.filterhideout; public bool filterstim = Settings.filterstim; public bool filterwishlist = Settings.filterwishlist; public bool filtervalue = Settings.filtervalue; public int moneyfiltervalue = Settings.moneyfiltervalue; public bool espFilterByPrice = ESPFilterbyprice; public bool showColorSettingsMenu = ShowColorSettingsMenu; public bool TPWishlistitem = TPwishlistitem; public bool TPHideoutitem = TPhideoutitem; public bool TPHVitem = Settings.TPHVitem; public int espPriceFilterValue = ESPPRICEfiltervalue; public Color superrareColor = SuperrareColor; public Color kappaColor = KappaColor; public Color questItemColor = QuestItemColor; public Color stimItemColor = StimItemColor; public Color hideoutColor = HideoutColor; public Color wishlistColor = WishlistColor; public Color searchedColor = SearchedColor; public Color commonItemColor = CommonItemColor; public Color usecColor = USECColor; public Color bearColor = BEARColor; public Color bossAndGuardColor = BossandGuardColor; public Color scavColor = ScavColor; public Color zombieColor = ZombieColor; public Color rogueColor = RogueColor; public Color raiderColor = RaiderColor; public Color cultistColor = CultistColor; public Color btrColor = BTRColor; public Color espBoxColor = ESPBoxColor; public Color espLineColor = ESPLineColor; public Color skeletonColor = SkeletonColor; public Color enemyWeaponTextColor = EnemyWeaponTextColor; public Color crosshairColor = CrosshairColor; public Color targetSnaplineColor = TargetSnaplineColor; public Color aimFOVColor = AimFOVColor; public Color ammoCounterColor = AmmoCounterColor; public Color tracerColor = TracerColor; public Color hitmarkerHeadShotColor = HitmarkerHeadShotColor; public Color hitmarkerHitColor = HitmarkerHitColor; public Color exfilESPColor = ExfilESPColor; public Color PlayerChamsHidden = Settings.PlayerChamsHidden; public Color PlayerChamsVisible = Settings.PlayerChamsVisible; public Color GuardColor = Settings.GuardColor; public Color GrenadeVisible = Settings.GrenadeVisible; public Color GrenadeHidden = Settings.GrenadeHidden; public Color TripwireHidden = Settings.TripwireHidden; public Color TripwireVisible = Settings.TripwireVisible; public KeyCode speedhacktoggle = Settings.speedhacktoggle; public KeyCode flyhacktoggle = Settings.flyhacktoggle; public bool drawwatermark = Settings.drawwatermark; public Color teammatecolor = Settings.teammatecolor; public Color playerscavcolor = Settings.playerscavcolor; public Color boxsightline = Settings.boxsightline; public Color isvisibleline = Settings.isvisibleline; public Color enemyammocountercolor = EnemyAmmoCounterColor; public Color healingcolor = Settings.healingcolor; public Color SelfChamsColor = Settings.SelfChamsColor; public bool BigHeads = Settings.BigHeads; public bool bulletpershottoggle = bulletspershottoggle; public int bulletspershot = Settings.bulletspershot; public float loottpradius = Settings.loottpradius; public Color TransitPointColor = Settings.TransitPointColor; public Color SelectedEntityColor = Settings.SelectedEntityColor; public bool showraidsettingsmenu = Settings.showraidsettingsmenu; public bool makeallbotsfriendly = Settings.makeallbotsfriendly; public void ApplyToSettings() { Settings.DrawLootItems = DrawLootItems; Settings.DrawLootableContainers = DrawLootableContainers; Settings.DrawExfiltrationPoints = DrawExfiltrationPoints; Settings.alwayssurvived = alwayssurvived; Settings.DrawPlayers = DrawPlayers; Settings.DrawPlayerName = DrawPlayerName; Settings.DrawPlayerHealth = DrawPlayerHealth; Settings.DrawPlayerBox = DrawPlayerBox; Settings.DrawPlayerLine = DrawPlayerLine; Settings.DeadBodyColor = DeadBodyColor; Settings.DrawLootItemsDistance = DrawLootItemsDistance; Settings.DrawLootableContainersDistance = DrawLootableContainersDistance; Settings.DrawPlayersDistance = DrawPlayersDistance; Settings.DrawPlayersRadarDistance = DrawPlayersRadarDistance; Settings.xOffset = xOffset; Settings.initialYOffset = initialYOffset; Settings.itemLineHeight = itemLineHeight; Settings.lineWidth = lineWidth; Settings.lineX = lineX; Settings.alwaysIgnoreRestrictions = alwaysIgnoreRestrictions; Settings.Aimbot = Aimbot; Settings.SilentAim = SilentAim; Settings.AimbotFOV = AimbotFOV; Settings.AimbotSmooth = AimbotSmooth; Settings.NoRecoil = NoRecoil; Settings.AimbotDrawFOV = AimbotDrawFOV; Settings.Instaheal = Instaheal; Settings.expamount = expamount; Settings.EnableSkeleton = EnableSkeleton; Settings.Crosshair = Crosshair; Settings.Flyhack = Flyhack; Settings.Speedhack = Speedhack; Settings.Speed = Speed; Settings.Infstamina = Infstamina; Settings.Thermal = Thermal; Settings.Godmode = Godmode; Settings.XPBoost = XPBoost; Settings.CheckVisible = CheckVisible; Settings.InstaSearch = InstaSearch; Settings.DrawInfo = DrawInfo; Settings.playerWeapon = playerWeapon; Settings.grenadeesp = grenadeesp; Settings.NoVisor = NoVisor; Settings.streets = streets; Settings.drawaimpos = drawaimpos; Settings.TeleportItems = TeleportItems; Settings.PlayerInventoryESP = PlayerInventoryESP; Settings.weaponline = weaponline; Settings.flares = flares; Settings.ResetGodmode = ResetGodmode; Settings.Aimbone = Aimbone; Settings.changemaincamfov = changemaincamfov; Settings.maincamfov = maincamfov; Settings.weaponchams = weaponchams; Settings.tripwire = tripwire; Settings.superrare = superrare; Settings.common = common; Settings.kappa = kappa; Settings.quest = quest; Settings.containername = containername; Settings.searchItem = searchItem; Settings.searchitem = searchitem; Settings.commonitemdistance = commonitemdistance; Settings.BodyESP = BodyESP; Settings.DrawRadar = DrawRadar; Settings.DrawPlayersr = DrawPlayersr; Settings.DrawScavs = DrawScavs; Settings.DrawWealth = DrawWealth; Settings.RadarX = RadarX; Settings.RadarY = RadarY; Settings.RadarSize = RadarSize; Settings.MagicBullet = MagicBullet; Settings.CompleteQuests = CompleteQuests; Settings.botaim = botaim; Settings.BulletPenetration = BulletPenetration; Settings.SilentTargetLines = SilentTargetLines; Settings.Chams = Chams; Settings.instahit = instahit; Settings.nojam = nojam; Settings.firerate = firerate; Settings.infammo = infammo; Settings.Update = Update; Settings.HitMarkers = HitMarkers; Settings.tracers = tracers; Settings.invisible = invisible; Settings.tppmc = tppmc; Settings.tpboss = tpboss; Settings.fullbright = fullbright; Settings.VisR = VisR; Settings.VisG = VisG; Settings.VisB = VisB; Settings.HidR = HidR; Settings.HidG = HidG; Settings.HidB = HidB; Settings.Itemspawnmenu = Itemspawnmenu; Settings.SpawnItem = SpawnItem; Settings.ThirdPerson = ThirdPerson; Settings.ClearCache = ClearCache; Settings.tpp = tpp; Settings.teleportitem = teleportitem; Settings.KillAll = KillAll; Settings.UnlockDoors = UnlockDoors; Settings.AimbotKey = AimbotKey; Settings.TPall = TPall; Settings.Instahealkey = Instahealkey; Settings.fillraidbp = fillraidbp; Settings.thicc = thicc; Settings.sicc = sicc; Settings.ammobox = ammobox; Settings.hidenick = hidenick; Settings.farreach = farreach; Settings.removefilters = removefilters; Settings.superrareTP = superrareTP; Settings.kappaTP = kappaTP; Settings.questTP = questTP; Settings.StimTP = StimTP; Settings.stim = stim; Settings.searchTP = searchTP; Settings.fillslots = fillslots; Settings.QuestESP = QuestESP; Settings.DrawSimpleStrings = DrawSimpleStrings; Settings.DrawDescription = DrawDescription; Settings.SimpleStringsFOV = SimpleStringsFOV; Settings.DrawOutline = DrawOutline; Settings.artillery = artillery; Settings.SICCID = SICCID; Settings.cachedelayskelet = cachedelayskelet; Settings.fontsize = fontsize; Settings.componentexploit = componentexploit; Settings.drawvalue = drawvalue; Settings.drawhideoutitems = drawhideoutitems; Settings.drawwishlistitem = drawwishlistitem; Settings.filterwishlist = filterwishlist; Settings.filterhideout = filterhideout; Settings.filtervalue = filtervalue; Settings.filterkappa = filterkappa; Settings.filterstim = filterstim; Settings.filterquest = filterquest; Settings.filtersuperrare = filtersuperrare; Settings.moneyfiltervalue = moneyfiltervalue; ESPFilterbyprice = espFilterByPrice; ShowColorSettingsMenu = showColorSettingsMenu; Settings.TPHVitem = TPHVitem; TPhideoutitem = TPHVitem; TPwishlistitem = TPWishlistitem; ESPPRICEfiltervalue = espPriceFilterValue; SuperrareColor = superrareColor; KappaColor = kappaColor; QuestItemColor = questItemColor; StimItemColor = stimItemColor; HideoutColor = hideoutColor; WishlistColor = wishlistColor; SearchedColor = searchedColor; CommonItemColor = commonItemColor; USECColor = usecColor; BEARColor = bearColor; BossandGuardColor = bossAndGuardColor; ScavColor = scavColor; ZombieColor = zombieColor; RogueColor = rogueColor; RaiderColor = raiderColor; CultistColor = cultistColor; BTRColor = btrColor; ESPBoxColor = espBoxColor; ESPLineColor = espLineColor; SkeletonColor = skeletonColor; EnemyWeaponTextColor = enemyWeaponTextColor; CrosshairColor = crosshairColor; TargetSnaplineColor = targetSnaplineColor; AimFOVColor = aimFOVColor; AmmoCounterColor = ammoCounterColor; TracerColor = tracerColor; HitmarkerHeadShotColor = hitmarkerHeadShotColor; HitmarkerHitColor = hitmarkerHitColor; ExfilESPColor = exfilESPColor; Settings.GuardColor = GuardColor; Settings.PlayerChamsHidden = PlayerChamsHidden; Settings.PlayerChamsVisible = PlayerChamsVisible; Settings.TripwireHidden = TripwireHidden; Settings.TripwireVisible = TripwireVisible; Settings.GrenadeHidden = GrenadeHidden; Settings.GrenadeVisible = GrenadeVisible; Settings.flyhacktoggle = flyhacktoggle; Settings.speedhacktoggle = speedhacktoggle; Settings.drawwatermark = drawwatermark; Settings.teammatecolor = teammatecolor; Settings.playerscavcolor = playerscavcolor; Settings.boxsightline = boxsightline; Settings.isvisibleline = isvisibleline; EnemyAmmoCounterColor = enemyammocountercolor; Settings.healingcolor = healingcolor; Settings.SelfChamsColor = SelfChamsColor; Settings.BigHeads = BigHeads; bulletspershottoggle = bulletpershottoggle; Settings.bulletspershot = bulletspershot; Settings.loottpradius = loottpradius; Settings.TransitPointColor = TransitPointColor; Settings.SelectedEntityColor = SelectedEntityColor; Settings.showraidsettingsmenu = showraidsettingsmenu; Settings.makeallbotsfriendly = makeallbotsfriendly; } } internal static bool DrawLootItems = false; internal static bool DrawLootableContainers = false; internal static bool DrawExfiltrationPoints = false; internal static bool DrawPlayers = true; internal static bool DrawPlayerName = true; internal static bool DrawPlayerHealth = true; internal static bool DrawPlayerBox = false; internal static bool DrawPlayerLine = false; public static Color DeadBodyColor = Color.white; internal static float DrawLootItemsDistance = 100f; internal static float DrawLootableContainersDistance = 100f; internal static float DrawPlayersDistance = 200f; internal static float DrawPlayersRadarDistance = 400f; internal static int xOffset = -4; internal static int initialYOffset = -20; internal static int itemLineHeight = 20; internal static int lineWidth = -3; internal static int lineX = 15; internal static bool Aimbot = false; internal static bool alwayssurvived = false; internal static float AimbotFOV = 5f; internal static float AimbotSmooth = 0f; internal static bool NoRecoil = true; internal static bool AimbotDrawFOV = true; internal static bool Instaheal = false; internal static float expamount = 20000f; internal static bool EnableSkeleton = true; internal static bool Crosshair = true; internal static bool Flyhack = false; internal static bool Speedhack = false; internal static float Speed = 0.5f; internal static bool Infstamina = false; internal static bool Thermal = false; internal static bool Godmode = false; internal static bool XPBoost = false; internal static bool CheckVisible = false; internal static bool InstaSearch = true; internal static bool DrawInfo = true; internal static bool playerWeapon = false; internal static bool grenadeesp = true; internal static bool NoVisor = true; internal static bool streets = false; internal static bool drawaimpos = false; internal static bool TeleportItems = false; internal static bool PlayerInventoryESP = true; internal static bool weaponline = false; internal static bool flares = false; internal static bool ResetGodmode = false; internal static int Aimbone = 133; internal static bool changemaincamfov = false; internal static float maincamfov = 120f; internal static bool weaponchams = false; internal static bool superrare = true; internal static bool common = false; internal static bool kappa = false; internal static bool quest = false; internal static bool containername = false; internal static bool searchItem = false; internal static string searchitem = "Dogtag"; internal static float commonitemdistance = 10f; internal static bool BodyESP = true; internal static bool DrawRadar = true; internal static bool DrawPlayersr = true; internal static bool DrawScavs = true; internal static bool DrawWealth = true; internal static float RadarRange = DrawPlayersRadarDistance; internal static float RadarX = (float)Screen.width - 300f; internal static float RadarY = (float)Screen.height - 300f; internal static float RadarSize = 250f; internal static bool MagicBullet = false; internal static bool CompleteQuests = true; internal static bool SilentAim = true; internal static bool botaim = false; internal static bool BulletPenetration = true; internal static bool SilentTargetLines = true; internal static bool Chams = false; internal static bool instahit = false; internal static bool nojam = false; internal static bool firerate = false; internal static bool infammo = true; internal static bool Update = true; internal static bool HitMarkers = true; internal static bool tracers = true; internal static bool tppmc = false; internal static bool tpboss = false; internal static bool fullbright = false; internal static bool alwaysIgnoreRestrictions = true; internal static float VisR = 255f; internal static float VisG = 255f; internal static float VisB = 255f; internal static float HidR = 255f; internal static float HidG = 98f; internal static float HidB = 0f; internal static bool Itemspawnmenu = false; internal static bool SpawnItem = false; internal static bool ThirdPerson = false; public static bool fillraidbp = false; internal static bool thicc = false; internal static bool sicc = false; internal static bool ammobox = false; internal static bool invisible = false; internal static bool hidenick = true; internal static float reptoadd = 0.1f; internal static bool farreach = false; public static KeyCode ClearCache = KeyCode.Delete; internal static KeyCode tpp = KeyCode.F4; internal static KeyCode teleportitem = KeyCode.Keypad2; internal static KeyCode KillAll = KeyCode.Keypad7; internal static KeyCode UnlockDoors = KeyCode.Keypad4; internal static KeyCode AimbotKey = KeyCode.LeftControl; internal static KeyCode TPall = KeyCode.Keypad8; internal static KeyCode Instahealkey = KeyCode.Alpha5; private static readonly string SettingsFilePath = Path.Combine(Application.persistentDataPath, "settings.json"); internal static bool removefilters = false; internal static bool superrareTP = false; internal static bool kappaTP = false; internal static bool questTP = false; internal static bool StimTP = false; internal static bool stim = false; internal static bool searchTP = false; internal static bool fillslots = true; internal static bool QuestESP = true; internal static bool DrawOutline = false; internal static bool DrawSimpleStrings = false; internal static float SimpleStringsFOV = 3f; internal static bool DrawDescription = true; internal static bool tripwire = true; internal static bool artillery = false; internal static string SICCID = "5d235bb686f77443f4331278"; internal static float cachedelayskelet = 0.05f; internal static bool drawwatermark = true; internal static int fontsize = 12; internal static bool componentexploit = true; internal static bool drawwishlistitem = true; internal static bool drawhideoutitems = true; internal static bool drawvalue = true; internal static bool filtersuperrare = false; internal static bool filterkappa = false; internal static bool filterquest = false; internal static bool filterwishlist = false; internal static bool filterhideout = false; internal static bool filtervalue = false; internal static int moneyfiltervalue = 800000; internal static bool filterstim = false; internal static bool TPhideoutitem = false; internal static bool TPwishlistitem = false; internal static bool TPHVitem = false; internal static bool ESPFilterbyprice = true; internal static int ESPPRICEfiltervalue = 800000; internal static Color SuperrareColor = Color.red; internal static Color KappaColor = Color.green; internal static Color QuestItemColor = Color.yellow; internal static Color StimItemColor = Color.cyan; internal static Color HideoutColor = Color.white; internal static Color WishlistColor = Color.magenta; internal static Color SearchedColor = Color.blue; internal static Color CommonItemColor = Color.white; internal static Color USECColor = Color.green; internal static Color BEARColor = Color.green; internal static Color BossandGuardColor = Color.red; internal static Color ScavColor = Color.yellow; internal static Color ZombieColor = Color.yellow; internal static Color RogueColor = Color.cyan; internal static Color RaiderColor = Color.cyan; internal static Color CultistColor = Color.magenta; internal static Color BTRColor = Color.red; internal static Color ESPBoxColor = Color.yellow; internal static Color ESPLineColor = Color.green; internal static Color SkeletonColor = Color.gray; internal static Color EnemyWeaponTextColor = Color.white; internal static Color CrosshairColor = Color.red; internal static Color TargetSnaplineColor = Color.red; internal static Color AimFOVColor = Color.magenta; internal static Color AmmoCounterColor = Color.red; internal static Color TracerColor = Color.green; internal static Color HitmarkerHeadShotColor = Color.red; internal static Color HitmarkerHitColor = Color.white; internal static Color ExfilESPColor = Color.green; internal static Color PlayerChamsHidden = Color.yellow; internal static Color PlayerChamsVisible = Color.white; internal static Color GuardColor = Color.red; internal static Color GrenadeHidden = Color.green; internal static Color GrenadeVisible = Color.red; internal static Color TripwireHidden = Color.yellow; internal static Color TripwireVisible = Color.red; internal static bool ShowColorSettingsMenu = false; internal static KeyCode speedhacktoggle = KeyCode.Keypad5; internal static KeyCode flyhacktoggle = KeyCode.Keypad6; internal static bool allinputdisabled = false; internal static Color teammatecolor = Color.green; internal static Color playerscavcolor = Color.yellow; internal static Color boxsightline = Color.red; internal static Color isvisibleline = Color.red; internal static Color EnemyAmmoCounterColor = Color.cyan; internal static Color healingcolor = Color.red; internal static Color SelfChamsColor = Color.green; internal static Color SelectedEntityColor = Color.red; internal static bool soundexploit = false; internal static bool Wireframe = true; internal static bool BigHeads = true; internal static int bulletspershot = 1; internal static bool bulletspershottoggle = false; internal static float loottpradius = 2f; internal static Color TransitPointColor = Color.cyan; internal static bool showraidsettingsmenu = false; internal static bool henryison = false; internal static bool modifyraidsettings = false; internal static bool makeallbotsfriendly = false; public static void LoadSettings() { if (File.Exists(SettingsFilePath)) { try { JsonUtility.FromJson(File.ReadAllText(SettingsFilePath)).ApplyToSettings(); } catch (Exception) { } } } public static void SaveSettings() { try { string contents = JsonUtility.ToJson(new SettingsContainer(), prettyPrint: true); File.WriteAllText(SettingsFilePath, contents); } catch (Exception) { } } }