using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BoneLib; using BoneLib.BoneMenu; using GodLab; using Il2CppSLZ.Marrow; using MelonLoader; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: MelonInfo(typeof(Main), "GodLab", "1.0.0", "zak_sao", null)] [assembly: MelonGame("Stress Level Zero", "BONELAB")] [assembly: AssemblyTitle("GodLab")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("GodLab")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("0fecd4cf-7c6c-411b-99ec-eda0645f849d")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace GodLab; public class Main : MelonMod { private static bool isGodModeActive; public override void OnInitializeMelon() { SetupBoneMenu(); } private void SetupBoneMenu() { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) Page val = Page.Root.CreatePage("GodLab", Color.red, 0, true); val.CreateBool("God Mode Enabled", Color.green, isGodModeActive, (Action)delegate(bool value) { isGodModeActive = value; ApplyGodMode(); }); } public override void OnUpdate() { if (Input.GetKeyDown((KeyCode)349)) { isGodModeActive = !isGodModeActive; ApplyGodMode(); MelonLogger.Msg("GodLab Toggled: " + (isGodModeActive ? "ENABLED" : "DISABLED")); } if (isGodModeActive) { ApplyGodMode(); } } private static void ApplyGodMode() { if ((Object)(object)Player.RigManager != (Object)null && (Object)(object)Player.RigManager.health != (Object)null) { Health health = Player.RigManager.health; if (isGodModeActive) { health.curr_Health = health.max_Health; } } } public override void OnSceneWasLoaded(int buildIndex, string sceneName) { ApplyGodMode(); } }