-- Script Lua FE GUI Draggable: "99 Nights in the Forest Loader" - Loadstring Script Anti-Error (Fixed October 2025) -- Buatan heckes15 - Persistent & Selalu Bekerja (Handle Respawn) -- Fitur: GUI bisa digeser, tombol X untuk tutup, tombol Load Script untuk load script 99 Nights in the Forest (Universal FE, Anti-Error + Content Check, No Key Confirmed). local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local HttpService = game:GetService("HttpService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Fungsi load script 99 Nights in the Forest (dengan anti-error via pcall + check konten) local function load99NightsScript() local url = "https://raw.githubusercontent.com/adibhub1/99-nighit-in-forest/refs/heads/main/99%20night%20in%20forest" local success1, content = pcall(function() return game:HttpGet(url) end) if not success1 then warn("Gagal fetch konten dari URL! Error: " .. tostring(content) .. " - Cek koneksi atau URL mati.") return false end if content == "" or string.len(content) < 100 then warn("Konten script kosong atau terlalu pendek! Script mungkin outdated. Coba cari script baru di Roblox-Scripter.") return false end local success2, err = pcall(function() loadstring(content)() end) if success2 then print("Script 99 Nights in the Forest loaded successfully! 🌲 Fitur: Auto Farm Wood, Fill Hunger, ESP, Kill Aura, Bring Items, Teleports. No Key, Anti-error OK.") return true else warn("Gagal execute script! Error: " .. tostring(err) .. " - Script mungkin outdated atau game update anti-cheat.") return false end end -- Fungsi buat GUI Loader utama local function createGUI() -- Hapus GUI lama jika ada local oldGui = playerGui:FindFirstChild("99NightsLoader") if oldGui then oldGui:Destroy() end -- Buat ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "99NightsLoader" screenGui.Parent = playerGui screenGui.ResetOnSpawn = false -- Persistent saat respawn -- Frame utama (bisa digeser) local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 300, 0, 200) mainFrame.Position = UDim2.new(0.5, -150, 0.5, -100) mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mainFrame.BorderSizePixel = 0 mainFrame.Active = true -- Aktifkan untuk drag mainFrame.Draggable = true -- Fitur drag built-in Roblox (FE compatible) mainFrame.Parent = screenGui -- Sudut dibulatkan local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = mainFrame -- Title Bar (untuk drag juga) local titleBar = Instance.new("Frame") titleBar.Name = "TitleBar" titleBar.Size = UDim2.new(1, 0, 0, 30) titleBar.Position = UDim2.new(0, 0, 0, 0) titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 10) titleCorner.Parent = titleBar -- Title Text local title = Instance.new("TextLabel") title.Name = "Title" title.Size = UDim2.new(1, -30, 1, 0) -- Kasih ruang untuk tombol X title.Position = UDim2.new(0, 5, 0, 0) title.BackgroundTransparency = 1 title.Text = "🌲 99 Nights in the Forest Loader 🌲" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextScaled = true title.Font = Enum.Font.SourceSansBold title.Parent = titleBar -- Tombol Close (X) local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 25, 0, 25) closeButton.Position = UDim2.new(1, -30, 0, 2.5) closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50) closeButton.BorderSizePixel = 0 closeButton.Text = "X" closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.TextScaled = true closeButton.Font = Enum.Font.SourceSansBold closeButton.Parent = titleBar local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 5) closeCorner.Parent = closeButton -- Hover efek untuk close button closeButton.MouseEnter:Connect(function() TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 0, 0)}):Play() end) closeButton.MouseLeave:Connect(function() TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play() end) -- Tombol Load Script local loadButton = Instance.new("TextButton") loadButton.Name = "LoadButton" loadButton.Size = UDim2.new(1, -20, 0, 50) loadButton.Position = UDim2.new(0, 10, 0, 50) loadButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) loadButton.BorderSizePixel = 0 loadButton.Text = "🌲 LOAD SCRIPT (Auto Farm, ESP, Kill Aura, No Key)" loadButton.TextColor3 = Color3.fromRGB(255, 255, 255) loadButton.TextScaled = true loadButton.Font = Enum.Font.SourceSansBold loadButton.Parent = mainFrame local loadCorner = Instance.new("UICorner") loadCorner.CornerRadius = UDim.new(0, 5) loadCorner.Parent = loadButton -- Label info local infoLabel = Instance.new("TextLabel") infoLabel.Name = "Info" infoLabel.Size = UDim2.new(1, -20, 0, 50) infoLabel.Position = UDim2.new(0, 10, 0, 110) infoLabel.BackgroundTransparency = 1 infoLabel.Text = "Klik tombol untuk load script!\n(Fixed: No Key confirmed, anti-error: Cek console F9 kalau gagal)" infoLabel.TextColor3 = Color3.fromRGB(200, 200, 200) infoLabel.TextScaled = true infoLabel.Font = Enum.Font.SourceSans infoLabel.TextWrapped = true infoLabel.Parent = mainFrame -- Label kredit pembuat local creditLabel = Instance.new("TextLabel") creditLabel.Name = "Credit" creditLabel.Size = UDim2.new(1, -20, 0, 20) creditLabel.Position = UDim2.new(0, 10, 1, -25) creditLabel.BackgroundTransparency = 1 creditLabel.Text = "Made by heckes15 🔥 (Fixed October 2025)" creditLabel.TextColor3 = Color3.fromRGB(255, 100, 100) creditLabel.TextScaled = true creditLabel.Font = Enum.Font.SourceSansBold creditLabel.Parent = mainFrame -- Event tombol Load Script loadButton.MouseButton1Click:Connect(function() local loaded = load99NightsScript() if loaded then infoLabel.Text = "Script loaded! Survive the forest with OP features. 🌲" infoLabel.TextColor3 = Color3.fromRGB(0, 255, 0) loadButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100) loadButton.Text = "✅ LOADED" else infoLabel.Text = "Gagal load! Cek console (F9) untuk detail error. Cari script baru di Roblox-Scripter." infoLabel.TextColor3 = Color3.fromRGB(255, 100, 0) end end) -- Event tutup GUI utama closeButton.MouseButton1Click:Connect(function() local tweenOut = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {Size = UDim2.new(0, 0, 0, 0)}) tweenOut:Play() tweenOut.Completed:Connect(function() screenGui:Destroy() end) end) -- Animasi muncul mainFrame.Size = UDim2.new(0, 0, 0, 0) local tweenIn = TweenService:Create(mainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back), {Size = UDim2.new(0, 300, 0, 200)}) tweenIn:Play() print("99 Nights in the Forest Loader loaded! Made by heckes15. Geser frame, klik LOAD & cek console kalau error.") end -- Jalankan GUI awal createGUI() -- Persistent: Muncul ulang saat respawn player.CharacterAdded:Connect(function() wait(1) -- Tunggu load penuh createGUI() end)