-- Pepper Scripts - 99 Nights in a Forest (Delta Mobile Edition) local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local LocalPlayer = Players.LocalPlayer local function getCharacter() local char = LocalPlayer.Character if char and char:FindFirstChild("Humanoid") and char:FindFirstChild("HumanoidRootPart") then return char end return LocalPlayer.CharacterAdded:Wait() end local Character = getCharacter() local Humanoid = Character:WaitForChild("Humanoid") local RootPart = Character:WaitForChild("HumanoidRootPart") LocalPlayer.CharacterAdded:Connect(function(newChar) Character = newChar Humanoid = newChar:WaitForChild("Humanoid") RootPart = newChar:WaitForChild("HumanoidRootPart") end) if CoreGui:FindFirstChild("PepperScriptsUI") then CoreGui.PepperScriptsUI:Destroy() end -- ScreenGui Setup (Direct to PlayerGui for Delta Mobile reliability) local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "PepperScriptsUI" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local success = pcall(function() ScreenGui.Parent = CoreGui end) if not success or not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end -- Pepper Icon Toggle Button (Open/Close) local PepperButton = Instance.new("TextButton") PepperButton.Name = "PepperButton" PepperButton.Parent = ScreenGui PepperButton.BackgroundColor3 = Color3.fromRGB(240, 50, 50) PepperButton.Position = UDim2.new(0.05, 0, 0.12, 0) PepperButton.Size = UDim2.new(0, 60, 0, 60) PepperButton.Font = Enum.Font.GothamBold PepperButton.Text = "🌶️" PepperButton.TextColor3 = Color3.fromRGB(255, 255, 255) PepperButton.TextSize = 28 PepperButton.Draggable = true PepperButton.Active = true PepperButton.ZIndex = 9999 local PepperCorner = Instance.new("UICorner") PepperCorner.CornerRadius = UDim.new(1, 0) PepperCorner.Parent = PepperButton -- Main Modern Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 24) MainFrame.Position = UDim2.new(0.2, 0, 0.18, 0) MainFrame.Size = UDim2.new(0, 440, 0, 330) MainFrame.Visible = false MainFrame.Draggable = true MainFrame.Active = true MainFrame.ZIndex = 9500 local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 12) MainCorner.Parent = MainFrame local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(60, 60, 80) MainStroke.Thickness = 1.5 MainStroke.Parent = MainFrame -- Top Bar Header local TopBar = Instance.new("Frame") TopBar.Parent = MainFrame TopBar.BackgroundColor3 = Color3.fromRGB(28, 28, 38) TopBar.Size = UDim2.new(1, 0, 0, 40) TopBar.ZIndex = 9550 local TopBarCorner = Instance.new("UICorner") TopBarCorner.CornerRadius = UDim.new(0, 12) TopBarCorner.Parent = TopBar local TopBarCover = Instance.new("Frame") TopBarCover.Parent = TopBar TopBarCover.BackgroundColor3 = Color3.fromRGB(28, 28, 38) TopBarCover.BorderSizePixel = 0 TopBarCover.Position = UDim2.new(0, 0, 0.5, 0) TopBarCover.Size = UDim2.new(1, 0, 0.5, 0) TopBarCover.ZIndex = 9550 local Title = Instance.new("TextLabel") Title.Parent = TopBar Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0.04, 0, 0, 0) Title.Size = UDim2.new(0.7, 0, 1, 0) Title.Font = Enum.Font.GothamBold Title.Text = "🌶️ Pepper Scripts | 99 Nights" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 15 Title.TextXAlignment = Enum.TextXAlignment.Left Title.ZIndex = 9600 local CloseBtn = Instance.new("TextButton") CloseBtn.Parent = TopBar CloseBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50) CloseBtn.Position = UDim2.new(0.88, 0, 0.12, 0) CloseBtn.Size = UDim2.new(0, 38, 0, 28) CloseBtn.Font = Enum.Font.GothamBold CloseBtn.Text = "✕" CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CloseBtn.TextSize = 14 CloseBtn.ZIndex = 9600 local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(0, 8) CloseCorner.Parent = CloseBtn CloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = false end) PepperButton.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) -- Scrolling Container local ContentHolder = Instance.new("ScrollingFrame") ContentHolder.Parent = MainFrame ContentHolder.BackgroundTransparency = 1 ContentHolder.Position = UDim2.new(0.03, 0, 0.16, 0) ContentHolder.Size = UDim2.new(0.94, 0, 0.81, 0) ContentHolder.CanvasSize = UDim2.new(0, 0, 3.8, 0) ContentHolder.ScrollBarThickness = 4 ContentHolder.ZIndex = 9600 local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = ContentHolder UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) -- UI Helpers local function createToggle(name, callback) local btn = Instance.new("TextButton") btn.Parent = ContentHolder btn.BackgroundColor3 = Color3.fromRGB(30, 30, 40) btn.Size = UDim2.new(1, 0, 0, 40) btn.Font = Enum.Font.GothamMedium btn.Text = " " .. name btn.TextColor3 = Color3.fromRGB(230, 230, 240) btn.TextSize = 13 btn.TextXAlignment = Enum.TextXAlignment.Left btn.ZIndex = 9650 local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = btn local state = false btn.MouseButton1Click:Connect(function() state = not state btn.BackgroundColor3 = state and Color3.fromRGB(35, 120, 65) or Color3.fromRGB(30, 30, 40) callback(state) end) return btn end local function createAction(name, callback) local btn = Instance.new("TextButton") btn.Parent = ContentHolder btn.BackgroundColor3 = Color3.fromRGB(45, 65, 105) btn.Size = UDim2.new(1, 0, 0, 40) btn.Font = Enum.Font.GothamBold btn.Text = name btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 13 btn.ZIndex = 9650 local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = btn btn.MouseButton1Click:Connect(function() callback() end) return btn end local function createTextBox(placeholder, callback) local box = Instance.new("TextBox") box.Parent = ContentHolder box.BackgroundColor3 = Color3.fromRGB(30, 30, 40) box.Size = UDim2.new(1, 0, 0, 40) box.Font = Enum.Font.GothamMedium box.PlaceholderText = placeholder box.Text = "" box.TextColor3 = Color3.fromRGB(255, 255, 255) box.PlaceholderColor3 = Color3.fromRGB(150, 150, 170) box.TextSize = 13 box.ClearTextOnFocus = false box.ZIndex = 9650 local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = box box.FocusLost:Connect(function(enterPressed) if enterPressed and box.Text ~= "" then callback(box.Text) end end) return box end -- 1. Godmode Feature local godmodeConnection createToggle("Godmode (Zero Health Loss)", function(active) if active then godmodeConnection = RunService.Stepped:Connect(function() if Humanoid and Humanoid.Health > 0 then Humanoid.Health = Humanoid.MaxHealth end end) else if godmodeConnection then godmodeConnection:Disconnect() godmodeConnection = nil end end end) -- 2. Speed Boost (Text Input) createTextBox("Set Speed (Type number & press Enter)", function(text) local num = tonumber(text) if num and Humanoid then Humanoid.WalkSpeed = num end end) -- 3. Infinite Jump local infJump = false createToggle("Infinite Jump", function(active) infJump = active end) UserInputService.JumpRequest:Connect(function() if infJump and Humanoid then Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) -- 4. Working Fly Feature local flying = false local flySpeed = 50 local bg, bv createToggle("Fly (Mobile Friendly)", function(active) flying = active if flying then if not RootPart then return end bg = Instance.new("BodyGyro") bg.P = 9e4 bg.maxTorque = Vector3.new(9e4, 9e4, 9e4) bg.cframe = RootPart.CFrame bg.Parent = RootPart bv = Instance.new("BodyVelocity") bv.velocity = Vector3.new(0, 0.1, 0) bv.maxForce = Vector3.new(9e4, 9e4, 9e4) bv.Parent = RootPart task.spawn(function() while flying and Character and Humanoid and RootPart do local camera = Workspace.CurrentCamera local moveDir = Humanoid.MoveDirection if moveDir.Magnitude > 0 then bv.velocity = (camera.CFrame.LookVector * (moveDir.Z * flySpeed)) + (camera.CFrame.RightVector * (moveDir.X * flySpeed)) + Vector3.new(0, 0.5, 0) else bv.velocity = Vector3.new(0, 0.1, 0) end bg.cframe = camera.CFrame RunService.RenderStepped:Wait() end if bg then bg:Destroy() end if bv then bv:Destroy() end end) else if bg then bg:Destroy() end if bv then bv:Destroy() end end end) -- 5. Noclip Feature local noclipConnection createToggle("Noclip", function(active) if active then noclipConnection = RunService.Stepped:Connect(function() if Character then for _, part in ipairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) else if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end if Character then for _, part in ipairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end end end) -- 6. Custom Teleport Item / Object Search Input createTextBox("Teleport Object (Type name & press Enter)", function(searchName) local query = searchName:lower() for _, obj in ipairs(Workspace:GetDescendants()) do if obj.Name:lower():find(query) and not obj:IsDescendantOf(Character) then if obj:IsA("Model") and obj.PrimaryPart then obj:SetPrimaryPartCFrame(RootPart.CFrame + Vector3.new(0, 3, 0)) elseif obj:IsA("BasePart") then obj.CFrame = RootPart.CFrame + Vector3.new(0, 3, 0) end end end end) -- 7. Auto Fire (Teleport fuel materials into Campfire) createAction("Auto Fire (Teleport Fuel to Campfire)", function() local campfirePart = nil for _, obj in ipairs(Workspace:GetDescendants()) do if obj.Name:lower():find("campfire") then if obj:IsA("Model") and obj.PrimaryPart then campfirePart = obj.PrimaryPart break elseif obj:IsA("BasePart") then campfirePart = obj break end end end if campfirePart then for _, obj in ipairs(Workspace:GetDescendants()) do if (obj:IsA("BasePart") or obj:IsA("Model")) and not obj:IsDescendantOf(Character) then local name = obj.Name:lower() if name:find("log") or name:find("wood") or name:find("fuel") or name:find("stick") or name:find("coal") then if obj:IsA("Model") and obj.PrimaryPart then obj:SetPrimaryPartCFrame(campfirePart.CFrame + Vector3.new(0, 2, 0)) elseif obj:IsA("BasePart") then obj.CFrame = campfirePart.CFrame + Vector3.new(0, 2, 0) end end end end end end) -- 8. Auto Scrapper (Teleport metals and woods into Workbench) createAction("Auto Scrapper (Metals/Woods to Workbench)", function() local workbenchPart = nil for _, obj in ipairs(Workspace:GetDescendants()) do if obj.Name:lower():find("workbench") then if obj:IsA("Model") and obj.PrimaryPart then workbenchPart = obj.PrimaryPart break elseif obj:IsA("BasePart") then workbenchPart = obj break end end end if workbenchPart then for _, obj in ipairs(Workspace:GetDescendants()) do if (obj:IsA("BasePart") or obj:IsA("Model")) and not obj:IsDescendantOf(Character) then local name = obj.Name:lower() if name:find("metal") or name:find("iron") or name:find("steel") or name:find("wood") or name:find("scrap") or name:find("log") then if obj:IsA("Model") and obj.PrimaryPart then obj:SetPrimaryPartCFrame(workbenchPart.CFrame + Vector3.new(0, 2, 0)) elseif obj:IsA("BasePart") then obj.CFrame = workbenchPart.CFrame + Vector3.new(0, 2, 0) end end end end end end) -- 9. Reveal Map Feature createAction("Reveal Map (Fullbright & Remove Fog)", function() Lighting.Brightness = 2 Lighting.ClockTime = 14 Lighting.GlobalShadows = false Lighting.FogEnd = 999999 for _, child in ipairs(Lighting:GetChildren()) do if child:IsA("Atmosphere") or child:IsA("PostEffect") then child.Enabled = false end end end)