--[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] -- Load the base Nights in the Forest script local success, nightsScript = pcall(function() return loadstring(game:HttpGet("https://raw.githubusercontent.com/VapeVoidware/VW-Add/main/nightsintheforest.lua", true))() end) if not success then warn("Failed to load Nights in the Forest base script.") return end -- Add God Mode functionalité local godModeEnabled = {} local function enableGodMode(player) if godModeEnabled[player.UserId] then return end godModeEnabled[player.UserId] = true local character = player.Character if not character then player.CharacterAdded:Wait() character = player.Character end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.MaxHealth = math.huge humanoid.Health = math.huge humanoid.HealthChanged:Connect(function() if humanoid.Health < humanoid.MaxHealth then humanoid.Health = humanoid.MaxHealth end end) end end local function disableGodMode(player) godModeEnabled[player.UserId] = false local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.MaxHealth = 100 if humanoid.Health > 100 then humanoid.Health = 100 end end end -- Custom Admin Panel resembling Void Ware but unique local AdminPanel = {} AdminPanel.__index = AdminPanel function AdminPanel.new() local self = setmetatable({}, AdminPanel) self.Frame = Instance.new("ScreenGui") self.Frame.Name = "CustomAdminPanel" self.Frame.ResetOnSpawn = false self.MainFrame = Instance.new("Frame", self.Frame) self.MainFrame.Size = UDim2.new(0, 350, 0, 450) self.MainFrame.Position = UDim2.new(0.5, -175, 0.5, -225) self.MainFrame.BackgroundColor3 = Color3.fromRGB(32, 32, 32) self.MainFrame.BorderSizePixel = 0 self.MainFrame.Visible = false self.MainFrame.Active = true self.MainFrame.Draggable = true local UICorner = Instance.new("UICorner", self.MainFrame) UICorner.CornerRadius = UDim.new(0, 10) local Title = Instance.new("TextLabel", self.MainFrame) Title.Size = UDim2.new(1, 0, 0, 40) Title.BackgroundTransparency = 1 Title.Text = "99 Nights Admin Panel" Title.Font = Enum.Font.GothamBold Title.TextSize = 24 Title.TextColor3 = Color3.fromRGB(255, 255, 255) local CloseButton = Instance.new("TextButton", self.MainFrame) CloseButton.Size = UDim2.new(0, 40, 0, 40) CloseButton.Position = UDim2.new(1, -45, 0, 0) CloseButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) CloseButton.Text = "X" CloseButton.Font = Enum.Font.GothamBold CloseButton.TextSize = 20 CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.MouseButton1Click:Connect(function() self.MainFrame.Visible = false end) self.ButtonsFrame = Instance.new("ScrollingFrame", self.MainFrame) self.ButtonsFrame.Size = UDim2.new(1, -20, 1, -60) self.ButtonsFrame.Position = UDim2.new(0, 10, 0, 50) self.ButtonsFrame.BackgroundTransparency = 1 self.ButtonsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) self.ButtonsFrame.ScrollBarThickness = 6 self.UIListLayout = Instance.new("UIListLayout", self.ButtonsFrame) self.UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder self.UIListLayout.Padding = UDim.new(0, 8) self.Buttons = {} return self end function AdminPanel:addButton(name, callback) local button = Instance.new("TextButton", self.ButtonsFrame) button.Size = UDim2.new(1, 0, 0, 40) button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) button.Text = name button.Font = Enum.Font.Gotham button.TextSize = 18 button.TextColor3 = Color3.fromRGB(255, 255, 255) button.AutoButtonColor = true button.MouseButton1Click:Connect(function() callback() end) table.insert(self.Buttons, button) self.ButtonsFrame.CanvasSize = UDim2.new(0, 0, 0, #self.Buttons * 48) end function AdminPanel:toggle() self.MainFrame.Visible = not self.MainFrame.Visible end -- Create Admin Panel instance local adminPanel = AdminPanel.new() adminPanel.Frame.Parent = game:GetService("CoreGui") -- Add buttons with all the same options from the original script + god mode toggle adminPanel:addButton("Toggle God Mode", function() local player = Players.LocalPlayer if godModeEnabled[player.UserId] then disableGodMode(player) print("God Mode Disabled") else enableGodMode(player) print("God Mode Enabled") end end) -- Add other buttons from the original Nights in the Forest script here -- For example, teleport, spawn items, etc. -- Since original script details are unknown, placeholders are added: adminPanel:addButton("Spawn Weapon", function() -- Placeholder: Implement weapon spawn logic here print("Spawn Weapon triggered") end) adminPanel:addButton("Teleport to Forest", function() -- Placeholder: Implement teleport logic here print("Teleport to Forest triggered") end) adminPanel:addButton("Toggle Night Mode", function() -- Placeholder: Implement night mode toggle here print("Toggle Night Mode triggered") end) -- Bind toggle admin panel to a key (e.g. RightShift) local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.RightShift then adminPanel:toggle() end end) -- Ensure god mode applies on character spawn if enabled Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if godModeEnabled[player.UserId] then wait(1) enableGodMode(player) end end) end) if Players.LocalPlayer.Character then enableGodMode(Players.LocalPlayer) end