print("hihi, am yunai, just telling you things if you pressed F9 xd") error("before talking, thanks gemini helped me on writing codes ^w^") print("i did finding logics and prompts anything else, am not just lazy qwq") print("i will put what i updated in here :I") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local pGui = player:WaitForChild("PlayerGui") local workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") -- ===== UI SETUP ===== local gui = Instance.new("ScreenGui") gui.Name = "damn" gui.Parent = pGui gui.ResetOnSpawn = false local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 280, 0, 380) mainFrame.Position = UDim2.new(0.5, -140, 0.5, -190) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = gui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 8) mainCorner.Parent = mainFrame local stroke = Instance.new("UIStroke") stroke.Thickness = 1.5 stroke.Color = Color3.fromRGB(0, 255, 150) stroke.Transparency = 0.5 stroke.Parent = mainFrame -- Title Bar local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 35) titleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 25) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = titleBar local titleText = Instance.new("TextLabel") titleText.Size = UDim2.new(1, -40, 1, 0) titleText.Position = UDim2.new(0, 12, 0, 0) titleText.Text = "Corn Hub v1" titleText.TextColor3 = Color3.fromRGB(0, 255, 150) titleText.BackgroundTransparency = 1 titleText.Font = Enum.Font.GothamBold titleText.TextSize = 14 titleText.TextXAlignment = Enum.TextXAlignment.Left titleText.Parent = titleBar -- Close Button local exitBtn = Instance.new("TextButton") exitBtn.Size = UDim2.new(0, 25, 0, 25) exitBtn.Position = UDim2.new(1, -30, 0, 5) exitBtn.Text = "×" exitBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) exitBtn.TextColor3 = Color3.new(1, 1, 1) exitBtn.Font = Enum.Font.GothamBold exitBtn.TextSize = 18 exitBtn.Parent = titleBar local exitCorner = Instance.new("UICorner") exitCorner.CornerRadius = UDim.new(0, 6) exitCorner.Parent = exitBtn local isRunning = true exitBtn.MouseButton1Click:Connect(function() isRunning = false gui:Destroy() end) -- Container local container = Instance.new("ScrollingFrame") container.Size = UDim2.new(1, -20, 1, -50) container.Position = UDim2.new(0, 10, 0, 45) container.BackgroundTransparency = 1 container.ScrollBarThickness = 2 container.CanvasSize = UDim2.new(0, 0, 0, 500) container.ScrollingDirection = Enum.ScrollingDirection.Y container.Parent = mainFrame -- ===== UI HELPERS ===== local function createToggle(y, text) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 30) frame.Position = UDim2.new(0, 5, 0, y) frame.BackgroundTransparency = 1 frame.Parent = container local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 120, 1, 0) label.Text = text label.TextColor3 = Color3.fromRGB(200, 200, 200) label.BackgroundTransparency = 1 label.Font = Enum.Font.GothamSemibold label.TextSize = 12 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 50, 0, 22) btn.Position = UDim2.new(0, 125, 0, 4) btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70) btn.Text = "OFF" btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.GothamBold btn.TextSize = 10 btn.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 4) btnCorner.Parent = btn local state = false btn.MouseButton1Click:Connect(function() state = not state btn.Text = state and "ON" or "OFF" btn.BackgroundColor3 = state and Color3.fromRGB(0, 170, 100) or Color3.fromRGB(60, 60, 70) end) return function() return state end end local function createToggleWithInput(y, text, default, inputWidth) inputWidth = inputWidth or 50 local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 30) frame.Position = UDim2.new(0, 5, 0, y) frame.BackgroundTransparency = 1 frame.Parent = container local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 120, 1, 0) label.Text = text label.TextColor3 = Color3.fromRGB(200, 200, 200) label.BackgroundTransparency = 1 label.Font = Enum.Font.GothamSemibold label.TextSize = 12 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 50, 0, 22) btn.Position = UDim2.new(0, 125, 0, 4) btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70) btn.Text = "OFF" btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.GothamBold btn.TextSize = 10 btn.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 4) btnCorner.Parent = btn local box = Instance.new("TextBox") box.Size = UDim2.new(0, inputWidth, 0, 22) box.Position = UDim2.new(1, -(inputWidth + 5), 0, 4) box.BackgroundColor3 = Color3.fromRGB(45, 45, 50) box.Text = tostring(default) box.TextColor3 = Color3.fromRGB(0, 255, 150) box.Font = Enum.Font.GothamBold box.TextSize = 11 box.Parent = frame local boxCorner = Instance.new("UICorner") boxCorner.CornerRadius = UDim.new(0, 4) boxCorner.Parent = box local state = false btn.MouseButton1Click:Connect(function() state = not state btn.Text = state and "ON" or "OFF" btn.BackgroundColor3 = state and Color3.fromRGB(0, 170, 100) or Color3.fromRGB(60, 60, 70) end) return function() return state end, box end -- ===== TOGGLES & INPUTS ===== local wsToggle, wsBox = createToggleWithInput(0, "WalkSpeed", 16) local jpToggle, jpBox = createToggleWithInput(35, "JumpPower", 50) local hhToggle, hhBox = createToggleWithInput(70, "HipHeight", 0) local playerEspToggle = createToggle(105, "Player ESP") local monsterEspToggle = createToggle(140, "Monster ESP") local appleEspToggle = createToggle(175, "Apple ESP") local collectDistToggle, collectDistBox = createToggleWithInput(210, "Collect Distance", 10, 50) local noClipToggle = createToggle(245, "No Clip") local fullBrightToggle, brightBox = createToggleWithInput(280, "Full Bright", 3) local clockToggle, clockBox = createToggleWithInput(315, "Set Time", 12, 50) -- ===== Stats Loop ===== task.spawn(function() while isRunning do local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then if wsToggle() then hum.WalkSpeed = math.clamp(tonumber(wsBox.Text) or 16, 1, 200) end if jpToggle() then hum.UseJumpPower = true hum.JumpPower = math.clamp(tonumber(jpBox.Text) or 50, 1, 100) else hum.UseJumpPower = true hum.JumpPower = 50 end if hhToggle() then hum.HipHeight = math.clamp(tonumber(hhBox.Text) or 0, 0, 50) else hum.HipHeight = 0 end end task.wait(0.1) end end) -- ===== NO CLIP ===== local noclipConnection = nil task.spawn(function() local lastNoClipState = false while isRunning do local currentState = noClipToggle() if currentState ~= lastNoClipState then lastNoClipState = currentState if currentState then noclipConnection = RunService.Stepped:Connect(function() if player.Character then for _, part in ipairs(player.Character:GetDescendants()) do if part:IsA("BasePart") and part.CanCollide then part.CanCollide = false end end end end) else if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end if player.Character then for _, part in ipairs(player.Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end end end task.wait(0.3) end end) -- ===== FULL BRIGHT ===== task.spawn(function() local lastBrightState = false local lastBrightValue = 3 while isRunning do local currentState = fullBrightToggle() local currentValue = tonumber(brightBox.Text) or 3 if currentState ~= lastBrightState or currentValue ~= lastBrightValue then lastBrightState = currentState lastBrightValue = currentValue if currentState then Lighting.Brightness = currentValue Lighting.ClockTime = 14 Lighting.FogEnd = 100000 Lighting.GlobalShadows = false else Lighting.Brightness = 1 Lighting.GlobalShadows = true end end task.wait(0.5) end end) -- ===== SET TIME ===== task.spawn(function() local lastClockState = false local lastTimeValue = 12 while isRunning do local currentState = clockToggle() local currentValue = tonumber(clockBox.Text) or 12 if currentState then if currentState ~= lastClockState or currentValue ~= lastTimeValue then Lighting.ClockTime = currentValue end end lastClockState = currentState lastTimeValue = currentValue task.wait(0.5) end end) -- ===== MODIFY COLLECT DISTANCE ===== local mapFolder = workspace:FindFirstChild("Map") if mapFolder then task.spawn(function() while isRunning do if collectDistToggle() then local newDistance = math.clamp(tonumber(collectDistBox.Text) or 10, 1, 30) local apples = mapFolder:GetDescendants() for _, obj in ipairs(apples) do if obj:IsA("MeshPart") and obj.Name == "Apple" then local prompt = obj:FindFirstChildOfClass("ProximityPrompt") if prompt then prompt.MaxActivationDistance = newDistance end end end end task.wait(0.5) end end) end -- ===== PLAYER ESP ===== local playerHighlightMap = {} local function addPlayerHighlight(targetPlayer) if targetPlayer == player then return end if playerHighlightMap[targetPlayer] then return end local function applyHighlight(char) if char and char:IsA("Model") then local highlight = Instance.new("Highlight") highlight.Name = "PlayerESP_Highlight" highlight.FillColor = Color3.fromRGB(255, 255, 255) highlight.OutlineColor = Color3.fromRGB(200, 200, 200) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0.3 highlight.Adornee = char highlight.Parent = char playerHighlightMap[targetPlayer] = highlight end end if targetPlayer.Character then applyHighlight(targetPlayer.Character) end targetPlayer.CharacterAdded:Connect(function(char) task.wait(0.3) removePlayerHighlight(targetPlayer) if playerEspToggle() and isRunning then applyHighlight(char) end end) end local function removePlayerHighlight(targetPlayer) local highlight = playerHighlightMap[targetPlayer] if highlight then highlight:Destroy() playerHighlightMap[targetPlayer] = nil end end local function updateAllPlayerHighlights() for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player then if playerEspToggle() and isRunning then if not playerHighlightMap[plr] then addPlayerHighlight(plr) end else removePlayerHighlight(plr) end end end end Players.PlayerAdded:Connect(function(plr) if playerEspToggle() and isRunning then task.wait(0.5) addPlayerHighlight(plr) end end) Players.PlayerRemoving:Connect(function(plr) removePlayerHighlight(plr) end) -- ===== MONSTER ESP ===== local monsterFolder = workspace:FindFirstChild("Monsters") local highlightMap = {} if monsterFolder then local function addMonsterHighlight(monster) if not monster:IsA("Model") then return end if highlightMap[monster] then return end local highlight = Instance.new("Highlight") highlight.Name = "MonsterESP_Highlight" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.OutlineColor = Color3.fromRGB(255, 50, 50) highlight.FillTransparency = 0.4 highlight.OutlineTransparency = 0.2 highlight.Adornee = monster highlight.Parent = monster highlightMap[monster] = highlight end local function removeMonsterHighlight(monster) local highlight = highlightMap[monster] if highlight then highlight:Destroy() highlightMap[monster] = nil end end local function updateAllMonsterHighlights() for _, monster in ipairs(monsterFolder:GetChildren()) do if monster:IsA("Model") then if monsterEspToggle() and isRunning then addMonsterHighlight(monster) else removeMonsterHighlight(monster) end end end end for _, monster in ipairs(monsterFolder:GetChildren()) do if monster:IsA("Model") then addMonsterHighlight(monster) end end monsterFolder.ChildAdded:Connect(function(child) if monsterEspToggle() and isRunning and child:IsA("Model") then task.wait(0.3) addMonsterHighlight(child) end end) monsterFolder.ChildRemoved:Connect(function(child) removeMonsterHighlight(child) end) task.spawn(function() local lastMonsterState = false while isRunning do local currentState = monsterEspToggle() and isRunning if currentState ~= lastMonsterState then lastMonsterState = currentState updateAllMonsterHighlights() end task.wait(0.3) end end) end -- ===== APPLE ESP ===== local appleHighlightMap = {} if mapFolder then local function addAppleHighlight(apple) if not apple:IsA("MeshPart") then return end if apple.Name ~= "Apple" then return end if appleHighlightMap[apple] then return end local highlight = Instance.new("Highlight") highlight.Name = "AppleESP_Highlight" highlight.FillColor = Color3.fromRGB(0, 255, 0) highlight.OutlineColor = Color3.fromRGB(50, 255, 50) highlight.FillTransparency = 0.3 highlight.OutlineTransparency = 0.2 highlight.Adornee = apple highlight.Parent = apple appleHighlightMap[apple] = highlight end local function removeAppleHighlight(apple) local highlight = appleHighlightMap[apple] if highlight then highlight:Destroy() appleHighlightMap[apple] = nil end end local function updateAllAppleHighlights() local descendants = mapFolder:GetDescendants() for _, obj in ipairs(descendants) do if obj:IsA("MeshPart") and obj.Name == "Apple" then if appleEspToggle() and isRunning then addAppleHighlight(obj) else removeAppleHighlight(obj) end end end end local existingApples = mapFolder:GetDescendants() for _, obj in ipairs(existingApples) do if obj:IsA("MeshPart") and obj.Name == "Apple" then addAppleHighlight(obj) end end mapFolder.DescendantAdded:Connect(function(child) if appleEspToggle() and isRunning and child:IsA("MeshPart") and child.Name == "Apple" then task.wait(0.2) addAppleHighlight(child) end end) mapFolder.DescendantRemoving:Connect(function(child) if child:IsA("MeshPart") and child.Name == "Apple" then removeAppleHighlight(child) end end) task.spawn(function() local lastAppleState = false while isRunning do local currentState = appleEspToggle() and isRunning if currentState ~= lastAppleState then lastAppleState = currentState updateAllAppleHighlights() end task.wait(0.3) end end) end -- 初始化現有玩家 for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player then task.spawn(function() addPlayerHighlight(plr) end) end end -- Player ESP 開關監聽 task.spawn(function() local lastPlayerState = false while isRunning do local currentState = playerEspToggle() and isRunning if currentState ~= lastPlayerState then lastPlayerState = currentState updateAllPlayerHighlights() end task.wait(0.3) end end) -- 全域清理 workspace.DescendantRemoving:Connect(function(obj) if highlightMap[obj] then local highlight = highlightMap[obj] if highlight then highlight:Destroy() highlightMap[obj] = nil end end if appleHighlightMap[obj] then local highlight = appleHighlightMap[obj] if highlight then highlight:Destroy() appleHighlightMap[obj] = nil end end end)