local Players=game:GetService("Players")local RunService=game:GetService("RunService")local VirtualInputManager=game:GetService("VirtualInputManager")local TweenService=game:GetService("TweenService")local UserInputService=game:GetService("UserInputService")local player=Players.LocalPlayer;local character=player.Character or player.CharacterAdded:Wait()local humanoid=character:WaitForChild("Humanoid")local humanoidRootPart=character:WaitForChild("HumanoidRootPart")local isAutoCollecting=false;local currentTarget=nil;local holdingE=false;local collectConnection;local noclipConnection;local flightConnection;local isFlying=false;local DebrisFolder=workspace:WaitForChild("Debris")local autoAttackEnabled=false;local weaponName="Axe"local customSpeed=0;local customGravity=0;local attackSpeed=0.05;local originalWalkSpeed=humanoid.WalkSpeed;local originalGravity=workspace.Gravity;local originalAttackSpeed=50;local guiCloseConnection;local function autoCloseShopGUI()if guiCloseConnection then return end;guiCloseConnection=RunService.Heartbeat:Connect(function()if not isAutoCollecting then return end;pcall(function()local playerGui=player:WaitForChild("PlayerGui")for _,gui in pairs(playerGui:GetDescendants())do if gui:IsA("TextButton")and(gui.Text=="X"or gui.Text=="✕"or gui.Text=="×"or gui.Name:lower():find("close"))then if gui.Visible and gui.Parent.Visible then gui.Activated:Fire()wait(0.1)end end;if gui:IsA("Frame")and gui.Visible then local buyText=gui:FindFirstChild("TextLabel",true)if buyText and buyText.Text:lower():find("buy")then local closeBtn=gui:FindFirstChild("TextButton",true)if closeBtn and(closeBtn.Text=="X"or closeBtn.Text=="✕")then closeBtn.Activated:Fire()wait(0.1)end end end end end)end)end;local function stopAutoCloseGUI()if guiCloseConnection then guiCloseConnection:Disconnect()guiCloseConnection=nil end end;local function cleanupFlight()isFlying=false;if flightConnection then flightConnection:Disconnect()flightConnection=nil end;pcall(function()for _,v in pairs(humanoidRootPart:GetChildren())do if v:IsA("BodyPosition")or v:IsA("BodyGyro")or v:IsA("BodyVelocity")then v:Destroy()end end end)end;local function enableNoclip()if noclipConnection then return end;noclipConnection=RunService.Stepped:Connect(function()if not isAutoCollecting then return end;pcall(function()local char=player.Character;if char then for _,part in pairs(char:GetDescendants())do if part:IsA("BasePart")then part.CanCollide=false end end end end)end)end;local function disableNoclip()if noclipConnection then noclipConnection:Disconnect()noclipConnection=nil end;pcall(function()local char=player.Character;if char then for _,part in pairs(char:GetDescendants())do if part:IsA("BasePart")and part.Name~="HumanoidRootPart"then part.CanCollide=true end end end end)end;local function enableFlight(targetPos)if isFlying then return end;cleanupFlight()isFlying=true;local bodyVel=Instance.new("BodyVelocity")bodyVel.Name="AutoFarmVelocity"bodyVel.MaxForce=Vector3.new(100000,100000,100000)bodyVel.Velocity=Vector3.new(0,0,0)bodyVel.Parent=humanoidRootPart;local bodyGyro=Instance.new("BodyGyro")bodyGyro.Name="AutoFarmGyro"bodyGyro.MaxTorque=Vector3.new(100000,100000,100000)bodyGyro.D=500;bodyGyro.P=5000;bodyGyro.CFrame=humanoidRootPart.CFrame;bodyGyro.Parent=humanoidRootPart;flightConnection=RunService.Heartbeat:Connect(function()if not isFlying or not currentTarget or not currentTarget.Parent then cleanupFlight()return end;local targetPos=currentTarget.Position+Vector3.new(0,3,0)local direction=(targetPos-humanoidRootPart.Position).Unit;local distance=(targetPos-humanoidRootPart.Position).Magnitude;if distance>3 then bodyVel.Velocity=direction*50 else bodyVel.Velocity=Vector3.new(0,0,0)end;bodyGyro.CFrame=CFrame.new(humanoidRootPart.Position,currentTarget.Position)end)end;local function findNearestLuckyMain()local nearestPart;local shortestDistance=math.huge;for _,obj in ipairs(DebrisFolder:GetDescendants())do if obj:IsA("BasePart")and obj.Name=="Main"and obj.Parent then local distance=(humanoidRootPart.Position-obj.Position).Magnitude;if distance25 then if not isFlying then enableFlight(mainPart.Position)end else if isFlying then cleanupFlight()end;if horizontalDist>3 or math.abs(heightDiff)>3 then local targetPos;if heightDiff>3 and heightDiff<=25 then local direction=(mainPart.Position-humanoidRootPart.Position).Unit;targetPos=mainPart.Position-direction*4;targetPos=Vector3.new(targetPos.X,mainPart.Position.Y-2,targetPos.Z)else local direction2D=Vector2.new(mainPart.Position.X-humanoidRootPart.Position.X,mainPart.Position.Z-humanoidRootPart.Position.Z).Unit;targetPos=Vector3.new(mainPart.Position.X-direction2D.X*4,humanoidRootPart.Position.Y,mainPart.Position.Z-direction2D.Y*4)end;humanoid:MoveTo(targetPos)end end;if totalDistance<10 then pressE()return true else releaseE()return true end end;local lastBlockCheckTime=0;local lastBlockSwitchTime=0;local stuckCheckTime=0;local lastPosition=humanoidRootPart.Position;local function startAutoCollect()if collectConnection then return end;autoCloseShopGUI()collectConnection=RunService.Heartbeat:Connect(function()if not isAutoCollecting then return end;pcall(function()local char=player.Character;if not char then return end;humanoidRootPart=char:FindFirstChild("HumanoidRootPart")humanoid=char:FindFirstChild("Humanoid")if not humanoidRootPart or not humanoid then return end;local currentTime=tick()if currentTime-stuckCheckTime>3 then local movedDistance=(humanoidRootPart.Position-lastPosition).Magnitude;if movedDistance<2 and currentTarget then currentTarget=nil;cleanupFlight()releaseE()end;lastPosition=humanoidRootPart.Position;stuckCheckTime=currentTime end;if currentTime-lastBlockCheckTime>0.5 then lastBlockCheckTime=currentTime;if not currentTarget or not currentTarget.Parent or currentTime-lastBlockSwitchTime>10 then releaseE()cleanupFlight()currentTarget=nil;local nearestBlock=findNearestLuckyMain()if nearestBlock then currentTarget=nearestBlock;lastBlockSwitchTime=currentTime end end end;if currentTarget and currentTarget.Parent then goToBlockAndCollect(currentTarget)end end)end)end;local function stopAutoCollect()if collectConnection then collectConnection:Disconnect()collectConnection=nil end;stopAutoCloseGUI()releaseE()cleanupFlight()currentTarget=nil;lastBlockCheckTime=0;lastBlockSwitchTime=0;stuckCheckTime=0 end;local ScreenGui=Instance.new("ScreenGui")ScreenGui.Name="SpeedHubStyleGUI"ScreenGui.ResetOnSpawn=false;pcall(function()ScreenGui.Parent=game:GetService("CoreGui")end)if not ScreenGui.Parent then ScreenGui.Parent=player.PlayerGui end;local MainFrame=Instance.new("Frame")MainFrame.Size=UDim2.new(0,550,0,400)MainFrame.Position=UDim2.new(0.5,-275,0.5,-200)MainFrame.BackgroundColor3=Color3.fromRGB(245,245,250)MainFrame.BorderSizePixel=0;MainFrame.Active=true;MainFrame.Draggable=true;MainFrame.ClipsDescendants=false;MainFrame.Parent=ScreenGui;local MainCorner=Instance.new("UICorner")MainCorner.CornerRadius=UDim.new(0,12)MainCorner.Parent=MainFrame;local Shadow=Instance.new("Frame")Shadow.Size=UDim2.new(1,6,1,6)Shadow.Position=UDim2.new(0,-3,0,-3)Shadow.BackgroundColor3=Color3.fromRGB(0,0,0)Shadow.BackgroundTransparency=0.85;Shadow.BorderSizePixel=0;Shadow.ZIndex=0;Shadow.Parent=MainFrame;local ShadowCorner=Instance.new("UICorner")ShadowCorner.CornerRadius=UDim.new(0,12)ShadowCorner.Parent=Shadow;local function createRealisticWing(side)local WingContainer=Instance.new("Frame")WingContainer.Size=UDim2.new(0,80,0,80)WingContainer.Name=side=="left"and"LeftWingContainer"or"RightWingContainer"if side=="left"then WingContainer.Position=UDim2.new(0,-75,0,15)else WingContainer.Position=UDim2.new(1,-5,0,15)end;WingContainer.BackgroundTransparency=1;WingContainer.ZIndex=10;WingContainer.Parent=MainFrame;local featherData={{length=65,width=11,angle=side=="left"and -15 or 15,xOffset=3,yOffset=8},{length=63,width=10,angle=side=="left"and -22 or 22,xOffset=6,yOffset=15},{length=60,width=9,angle=side=="left"and -30 or 30,xOffset=10,yOffset=22},{length=57,width=8,angle=side=="left"and -38 or 38,xOffset=14,yOffset=29},{length=53,width=8,angle=side=="left"and -46 or 46,xOffset=19,yOffset=36},{length=49,width=7,angle=side=="left"and -54 or 54,xOffset=24,yOffset=43},{length=44,width=7,angle=side=="left"and -62 or 62,xOffset=29,yOffset=50},{length=39,width=6,angle=side=="left"and -70 or 70,xOffset=34,yOffset=57},{length=33,width=6,angle=side=="left"and -78 or 78,xOffset=39,yOffset=64}}for i,data in ipairs(featherData)do local feather=Instance.new("Frame")feather.Size=UDim2.new(0,data.length,0,data.width)if side=="left"then feather.Position=UDim2.new(0,data.xOffset,0,data.yOffset)else feather.Position=UDim2.new(1,-(data.xOffset+data.length),0,data.yOffset)end;feather.Rotation=data.angle;feather.BackgroundColor3=Color3.fromRGB(255,255,255)feather.BackgroundTransparency=0.1;feather.BorderSizePixel=0;feather.ZIndex=11;feather.Parent=WingContainer;local corner=Instance.new("UICorner")corner.CornerRadius=UDim.new(0,data.width/2)corner.Parent=feather;local blackOutline=Instance.new("UIStroke")blackOutline.Color=Color3.fromRGB(30,30,35)blackOutline.Thickness=2;blackOutline.Transparency=0;blackOutline.Parent=feather;local pinkGlow=Instance.new("UIStroke")pinkGlow.Color=Color3.fromRGB(255,100,180)pinkGlow.Thickness=4;pinkGlow.Transparency=0.4;pinkGlow.ApplyStrokeMode=Enum.ApplyStrokeMode.Border;pinkGlow.Parent=feather;spawn(function()while wait(0.03)do if pinkGlow and pinkGlow.Parent then TweenService:Create(pinkGlow,TweenInfo.new(1.5,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Transparency=0.2}):Play()wait(1.5)TweenService:Create(pinkGlow,TweenInfo.new(1.5,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Transparency=0.5}):Play()wait(1.5)end end end)end;return WingContainer end;local LeftWing=createRealisticWing("left")local RightWing=createRealisticWing("right")spawn(function()local leftOriginalY=LeftWing.Position.Y.Offset;local rightOriginalY=RightWing.Position.Y.Offset;while true do TweenService:Create(LeftWing,TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Position=UDim2.new(0,-75,0,leftOriginalY-7)}):Play()TweenService:Create(RightWing,TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Position=UDim2.new(1,-5,0,rightOriginalY-7)}):Play()wait(1.2)TweenService:Create(LeftWing,TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Position=UDim2.new(0,-75,0,leftOriginalY+7)}):Play()TweenService:Create(RightWing,TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Position=UDim2.new(1,-5,0,rightOriginalY+7)}):Play()wait(1.2)end end)local TopBar=Instance.new("Frame")TopBar.Size=UDim2.new(1,0,0,50)TopBar.Position=UDim2.new(0,0,0,0)TopBar.BackgroundColor3=Color3.fromRGB(255,255,255)TopBar.BorderSizePixel=0;TopBar.Parent=MainFrame;local TopBarCorner=Instance.new("UICorner")TopBarCorner.CornerRadius=UDim.new(0,12)TopBarCorner.Parent=TopBar;local TopBarCover=Instance.new("Frame")TopBarCover.Size=UDim2.new(1,0,0,12)TopBarCover.Position=UDim2.new(0,0,1,-12)TopBarCover.BackgroundColor3=Color3.fromRGB(255,255,255)TopBarCover.BorderSizePixel=0;TopBarCover.Parent=TopBar;local Title=Instance.new("TextLabel")Title.Size=UDim2.new(0,200,1,0)Title.Position=UDim2.new(0,70,0,0)Title.BackgroundTransparency=1;Title.Text="Fight Your Zombie"Title.TextColor3=Color3.fromRGB(50,50,60)Title.Font=Enum.Font.GothamBold;Title.TextSize=18;Title.TextXAlignment=Enum.TextXAlignment.Left;Title.Parent=TopBar;local Version=Instance.new("TextLabel")Version.Size=UDim2.new(0,100,0,15)Version.Position=UDim2.new(0,70,0,28)Version.BackgroundTransparency=1;Version.Text="by Norton | v2.2"Version.TextColor3=Color3.fromRGB(150,150,160)Version.Font=Enum.Font.Gotham;Version.TextSize=10;Version.TextXAlignment=Enum.TextXAlignment.Left;Version.Parent=TopBar;local CloseButton=Instance.new("TextButton")CloseButton.Size=UDim2.new(0,40,0,40)CloseButton.Position=UDim2.new(1,-45,0,5)CloseButton.BackgroundColor3=Color3.fromRGB(255,100,120)CloseButton.Text="×"CloseButton.TextColor3=Color3.new(1,1,1)CloseButton.Font=Enum.Font.GothamBold;CloseButton.TextSize=24;CloseButton.BorderSizePixel=0;CloseButton.Parent=TopBar;local CloseCorner=Instance.new("UICorner")CloseCorner.CornerRadius=UDim.new(0,8)CloseCorner.Parent=CloseButton;local MinimizeButton=Instance.new("TextButton")MinimizeButton.Size=UDim2.new(0,40,0,40)MinimizeButton.Position=UDim2.new(1,-90,0,5)MinimizeButton.BackgroundColor3=Color3.fromRGB(255,150,180)MinimizeButton.Text="−"MinimizeButton.TextColor3=Color3.new(1,1,1)MinimizeButton.Font=Enum.Font.GothamBold;MinimizeButton.TextSize=24;MinimizeButton.BorderSizePixel=0;MinimizeButton.Parent=TopBar;local MinCorner=Instance.new("UICorner")MinCorner.CornerRadius=UDim.new(0,8)MinCorner.Parent=MinimizeButton;local SideMenu=Instance.new("Frame")SideMenu.Size=UDim2.new(0,160,1,-50)SideMenu.Position=UDim2.new(0,0,0,50)SideMenu.BackgroundColor3=Color3.fromRGB(235,235,240)SideMenu.BorderSizePixel=0;SideMenu.Parent=MainFrame;local ContentArea=Instance.new("Frame")ContentArea.Size=UDim2.new(1,-160,1,-50)ContentArea.Position=UDim2.new(0,160,0,50)ContentArea.BackgroundTransparency=1;ContentArea.Parent=MainFrame;local currentPage;local function createMenuButton(text,icon,order)local btn=Instance.new("TextButton")btn.Size=UDim2.new(1,-20,0,45)btn.Position=UDim2.new(0,10,0,10+order*50)btn.BackgroundColor3=Color3.fromRGB(255,255,255)btn.Text=""btn.BorderSizePixel=0;btn.Parent=SideMenu;local btnCorner=Instance.new("UICorner")btnCorner.CornerRadius=UDim.new(0,8)btnCorner.Parent=btn;local iconLabel=Instance.new("TextLabel")iconLabel.Size=UDim2.new(0,30,1,0)iconLabel.Position=UDim2.new(0,10,0,0)iconLabel.BackgroundTransparency=1;iconLabel.Text=icon;iconLabel.TextColor3=Color3.fromRGB(255,100,150)iconLabel.Font=Enum.Font.GothamBold;iconLabel.TextSize=18;iconLabel.Parent=btn;local textLabel=Instance.new("TextLabel")textLabel.Size=UDim2.new(1,-50,1,0)textLabel.Position=UDim2.new(0,45,0,0)textLabel.BackgroundTransparency=1;textLabel.Text=text;textLabel.TextColor3=Color3.fromRGB(70,70,80)textLabel.Font=Enum.Font.GothamSemibold;textLabel.TextSize=14;textLabel.TextXAlignment=Enum.TextXAlignment.Left;textLabel.Parent=btn;return btn end;local FarmingPage=Instance.new("ScrollingFrame")FarmingPage.Size=UDim2.new(1,-20,1,-20)FarmingPage.Position=UDim2.new(0,10,0,10)FarmingPage.BackgroundTransparency=1;FarmingPage.BorderSizePixel=0;FarmingPage.ScrollBarThickness=4;FarmingPage.ScrollBarImageColor3=Color3.fromRGB(255,100,150)FarmingPage.CanvasSize=UDim2.new(0,0,0,150)FarmingPage.Visible=true;FarmingPage.Parent=ContentArea;local GeneralPage=Instance.new("ScrollingFrame")GeneralPage.Size=UDim2.new(1,-20,1,-20)GeneralPage.Position=UDim2.new(0,10,0,10)GeneralPage.BackgroundTransparency=1;GeneralPage.BorderSizePixel=0;GeneralPage.ScrollBarThickness=4;GeneralPage.ScrollBarImageColor3=Color3.fromRGB(255,100,150)GeneralPage.CanvasSize=UDim2.new(0,0,0,310)GeneralPage.Visible=false;GeneralPage.Parent=ContentArea;local function createToggle(parent,text,yPos,callback)local toggleFrame=Instance.new("Frame")toggleFrame.Size=UDim2.new(1,0,0,50)toggleFrame.Position=UDim2.new(0,0,0,yPos)toggleFrame.BackgroundColor3=Color3.fromRGB(255,255,255)toggleFrame.BorderSizePixel=0;toggleFrame.Parent=parent;local toggleCorner=Instance.new("UICorner")toggleCorner.CornerRadius=UDim.new(0,10)toggleCorner.Parent=toggleFrame;local label=Instance.new("TextLabel")label.Size=UDim2.new(1,-80,1,0)label.Position=UDim2.new(0,15,0,0)label.BackgroundTransparency=1;label.Text=text;label.TextColor3=Color3.fromRGB(60,60,70)label.Font=Enum.Font.GothamSemibold;label.TextSize=14;label.TextXAlignment=Enum.TextXAlignment.Left;label.Parent=toggleFrame;local toggleButton=Instance.new("TextButton")toggleButton.Size=UDim2.new(0,50,0,30)toggleButton.Position=UDim2.new(1,-60,0.5,-15)toggleButton.BackgroundColor3=Color3.fromRGB(220,220,225)toggleButton.Text=""toggleButton.BorderSizePixel=0;toggleButton.Parent=toggleFrame;local toggleBtnCorner=Instance.new("UICorner")toggleBtnCorner.CornerRadius=UDim.new(1,0)toggleBtnCorner.Parent=toggleButton;local toggleCircle=Instance.new("Frame")toggleCircle.Size=UDim2.new(0,22,0,22)toggleCircle.Position=UDim2.new(0,4,0.5,-11)toggleCircle.BackgroundColor3=Color3.fromRGB(255,255,255)toggleCircle.BorderSizePixel=0;toggleCircle.Parent=toggleButton;local circleCorner=Instance.new("UICorner")circleCorner.CornerRadius=UDim.new(1,0)circleCorner.Parent=toggleCircle;local isOn=false;toggleButton.MouseButton1Click:Connect(function()isOn=not isOn;if isOn then TweenService:Create(toggleButton,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(255,100,150)}):Play()TweenService:Create(toggleCircle,TweenInfo.new(0.2),{Position=UDim2.new(1,-26,0.5,-11)}):Play()else TweenService:Create(toggleButton,TweenInfo.new(0.2),{BackgroundColor3=Color3.fromRGB(220,220,225)}):Play()TweenService:Create(toggleCircle,TweenInfo.new(0.2),{Position=UDim2.new(0,4,0.5,-11)}):Play()end;callback(isOn)end)return toggleFrame end;local function createSlider(parent,text,yPos,min,max,defaultVal,originalVal,callback)local sliderFrame=Instance.new("Frame")sliderFrame.Size=UDim2.new(1,0,0,90)sliderFrame.Position=UDim2.new(0,0,0,yPos)sliderFrame.BackgroundColor3=Color3.fromRGB(255,255,255)sliderFrame.BorderSizePixel=0;sliderFrame.Parent=parent;local sliderCorner=Instance.new("UICorner")sliderCorner.CornerRadius=UDim.new(0,10)sliderCorner.Parent=sliderFrame;local label=Instance.new("TextLabel")label.Size=UDim2.new(0.5,0,0,20)label.Position=UDim2.new(0,15,0,10)label.BackgroundTransparency=1;label.Text=text;label.TextColor3=Color3.fromRGB(60,60,70)label.Font=Enum.Font.GothamSemibold;label.TextSize=14;label.TextXAlignment=Enum.TextXAlignment.Left;label.Parent=sliderFrame;local resetBtn=Instance.new("TextButton")resetBtn.Size=UDim2.new(0,70,0,25)resetBtn.Position=UDim2.new(1,-145,0,8)resetBtn.BackgroundColor3=Color3.fromRGB(255,150,180)resetBtn.Text="Reset"resetBtn.TextColor3=Color3.new(1,1,1)resetBtn.Font=Enum.Font.GothamBold;resetBtn.TextSize=12;resetBtn.BorderSizePixel=0;resetBtn.Parent=sliderFrame;local resetCorner=Instance.new("UICorner")resetCorner.CornerRadius=UDim.new(0,6)resetCorner.Parent=resetBtn;local currentLabel=Instance.new("TextLabel")currentLabel.Size=UDim2.new(0,120,0,18)currentLabel.Position=UDim2.new(0,15,0,32)currentLabel.BackgroundTransparency=1;currentLabel.Text="Default: "..tostring(originalVal)currentLabel.TextColor3=Color3.fromRGB(120,120,130)currentLabel.Font=Enum.Font.Gotham;currentLabel.TextSize=11;currentLabel.TextXAlignment=Enum.TextXAlignment.Left;currentLabel.Parent=sliderFrame;local valueLabel=Instance.new("TextLabel")valueLabel.Size=UDim2.new(0,60,0,25)valueLabel.Position=UDim2.new(1,-70,0,8)valueLabel.BackgroundTransparency=1;valueLabel.Text=tostring(defaultVal)valueLabel.TextColor3=Color3.fromRGB(255,100,150)valueLabel.Font=Enum.Font.GothamBold;valueLabel.TextSize=14;valueLabel.Parent=sliderFrame;local sliderBar=Instance.new("Frame")sliderBar.Size=UDim2.new(1,-30,0,8)sliderBar.Position=UDim2.new(0,15,0,65)sliderBar.BackgroundColor3=Color3.fromRGB(230,230,235)sliderBar.BorderSizePixel=0;sliderBar.Parent=sliderFrame;local sliderBarCorner=Instance.new("UICorner")sliderBarCorner.CornerRadius=UDim.new(1,0)sliderBarCorner.Parent=sliderBar;local sliderFill=Instance.new("Frame")sliderFill.Size=UDim2.new((defaultVal-min)/(max-min),0,1,0)sliderFill.BackgroundColor3=Color3.fromRGB(255,100,150)sliderFill.BorderSizePixel=0;sliderFill.Parent=sliderBar;local sliderFillCorner=Instance.new("UICorner")sliderFillCorner.CornerRadius=UDim.new(1,0)sliderFillCorner.Parent=sliderFill;local sliderButton=Instance.new("TextButton")sliderButton.Size=UDim2.new(0,20,0,20)sliderButton.Position=UDim2.new(1,-10,0.5,-10)sliderButton.BackgroundColor3=Color3.fromRGB(255,100,150)sliderButton.Text=""sliderButton.BorderSizePixel=0;sliderButton.AutoButtonColor=false;sliderButton.Parent=sliderFill;local sliderBtnCorner=Instance.new("UICorner")sliderBtnCorner.CornerRadius=UDim.new(1,0)sliderBtnCorner.Parent=sliderButton;local dragging=false;sliderButton.MouseButton1Down:Connect(function()dragging=true end)UserInputService.InputEnded:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false end end)UserInputService.InputChanged:Connect(function(input)if dragging and input.UserInputType==Enum.UserInputType.MouseMovement then local mousePos=input.Position.X;local barPos=sliderBar.AbsolutePosition.X;local barSize=sliderBar.AbsoluteSize.X;local pos=math.clamp((mousePos-barPos)/barSize,0,1)local value=math.floor(min+(max-min)*pos)valueLabel.Text=tostring(value)sliderFill.Size=UDim2.new(pos,0,1,0)callback(value)end end)sliderBar.InputBegan:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 then local mousePos=input.Position.X;local barPos=sliderBar.AbsolutePosition.X;local barSize=sliderBar.AbsoluteSize.X;local pos=math.clamp((mousePos-barPos)/barSize,0,1)local value=math.floor(min+(max-min)*pos)valueLabel.Text=tostring(value)sliderFill.Size=UDim2.new(pos,0,1,0)callback(value)dragging=true end end)resetBtn.MouseButton1Click:Connect(function()local pos=(originalVal-min)/(max-min)valueLabel.Text=tostring(originalVal)sliderFill.Parent=sliderFrame;local sliderCorner=Instance.new("UICorner")sliderCorner.CornerRadius=UDim.new(0,10)sliderCorner.Parent=sliderFrame;local label=Instance.new("TextLabel")label.Size=UDim2.new(0.5,0,0,20)label.Position=UDim2.new(0,15,0,10)label.BackgroundTransparency=1;label.Text=text;label.TextColor3=Color3.fromRGB(60,60,70)label.Font=Enum.Font.GothamSemibold;label.TextSize=14;label.TextXAlignment=Enum.TextXAlignment.Left;label.Parent=sliderFrame;local resetBtn=Instance.new("TextButton")resetBtn.Size=UDim2.new(0,70,0,25)resetBtn.Position=UDim2.new(1,-145,0,8)resetBtn.BackgroundColor3=Color3.fromRGB(255,150,180)resetBtn.Text="Reset"resetBtn.TextColor3=Color3.new(1,1,1)resetBtn.Font=Enum.Font.GothamBold;resetBtn.TextSize=12;resetBtn.BorderSizePixel=0;resetBtn.Parent=sliderFrame;local resetCorner=Instance.new("UICorner")resetCorner.CornerRadius=UDim.new(0,6)resetCorner.Parent=resetBtn;local currentLabel=Instance.new("TextLabel")currentLabel.Size=UDim2.new(0,120,0,18)currentLabel.Position=UDim2.new(0,15,0,32)currentLabel.BackgroundTransparency=1;currentLabel.Text="Default: "..tostring(originalVal)currentLabel.TextColor3=Color3.fromRGB(120,120,130)currentLabel.Font=Enum.Font.Gotham;currentLabel.TextSize=11;currentLabel.TextXAlignment=Enum.TextXAlignment.Left;currentLabel.Parent=sliderFrame;local valueLabel=Instance.new("TextLabel")valueLabel.Size=UDim2.new(0,60,0,25)valueLabel.Position=UDim2.new(1,-70,0,8)valueLabel.BackgroundTransparency=1;valueLabel.Text=tostring(defaultVal)valueLabel.TextColor3=Color3.fromRGB(255,100,150)valueLabel.Font=Enum.Font.GothamBold;valueLabel.TextSize=14;valueLabel.Parent=sliderFrame;local sliderBar=Instance.new("Frame")sliderBar.Size=UDim2.new(1,-30,0,8)sliderBar.Position=UDim2.new(0,15,0,65)sliderBar.BackgroundColor3=Color3.fromRGB(230,230,235)sliderBar.BorderSizePixel=0;sliderBar.Parent=sliderFrame;local sliderBarCorner=Instance.new("UICorner")sliderBarCorner.CornerRadius=UDim.new(1,0)sliderBarCorner.Parent=sliderBar;local sliderFill=Instance.new("Frame")sliderFill.Size=UDim2.new((defaultVal-min)/(max-min),0,1,0)sliderFill.BackgroundColor3=Color3.fromRGB(255,100,150)sliderFill.BorderSizePixel=0;sliderFill.Parent=sliderBar;local sliderFillCorner=Instance.new("UICorner")sliderFillCorner.CornerRadius=UDim.new(1,0)sliderFillCorner.Parent=sliderFill;local sliderButton=Instance.new("TextButton")sliderButton.Size=UDim2.new(0,20,0,20)sliderButton.Position=UDim2.new(1,-10,0.5,-10)sliderButton.BackgroundColor3=Color3.fromRGB(255,100,150)sliderButton.Text=""sliderButton.BorderSizePixel=0;sliderButton.AutoButtonColor=false;sliderButton.Parent=sliderFill;local sliderBtnCorner=Instance.new("UICorner")sliderBtnCorner.CornerRadius=UDim.new(1,0)sliderBtnCorner.Parent=sliderButton;local dragging=false;sliderButton.MouseButton1Down:Connect(function()dragging=true end)UserInputService.InputEnded:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false end end)UserInputService.InputChanged:Connect(function(input)if dragging and input.UserInputType==Enum.UserInputType.MouseMovement then local mousePos=input.Position.X;local barPos=sliderBar.AbsolutePosition.X;local barSize=sliderBar.AbsoluteSize.X;local pos=math.clamp((mousePos-barPos)/barSize,0,1)local value=math.floor(min+(max-min)*pos)valueLabel.Text=tostring(value)sliderFill.Size=UDim2.new(pos,0,1,0)callback(value)end end)sliderBar.InputBegan:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 then local mousePos=input.Position.X;local barPos=sliderBar.AbsolutePosition.X;local barSize=sliderBar.AbsoluteSize.X;local pos=math.clamp((mousePos-barPos)/barSize,0,1)local value=math.floor(min+(max-min)*pos)valueLabel.Text=tostring(value)sliderFill.Size=UDim2.new(pos,0,1,0)callback(value)dragging=true end end)resetBtn.MouseButton1Click:Connect(function()local pos=(originalVal-min)/(max-min)valueLabel.Text=tostring(originalVal)sliderFill.Size=UDim2.new(pos,0,1,0)callback(originalVal)end)return sliderFrame end;createToggle(FarmingPage,"Auto Attack",10,function(state)autoAttackEnabled=state end)createToggle(FarmingPage,"Auto Lucky Blocks",70,function(state)if state then isAutoCollecting=true;enableNoclip()startAutoCollect()else isAutoCollecting=false;disableNoclip()stopAutoCollect()end end)createSlider(GeneralPage,"WalkSpeed",10,16,500,math.floor(originalWalkSpeed),math.floor(originalWalkSpeed),function(val)customSpeed=val;if player.Character and player.Character:FindFirstChild("Humanoid")then player.Character.Humanoid.WalkSpeed=val end end)createSlider(GeneralPage,"Gravity",110,50,500,math.floor(originalGravity),math.floor(originalGravity),function(val)customGravity=val;workspace.Gravity=val end)createSlider(GeneralPage,"Attack Speed (ms)",210,10,200,originalAttackSpeed,originalAttackSpeed,function(val)attackSpeed=val/1000 end)local farmBtn=createMenuButton("Farming","🌾",0)local genBtn=createMenuButton("General","⚙️",1)farmBtn.MouseButton1Click:Connect(function()FarmingPage.Visible=true;GeneralPage.Visible=false;farmBtn.BackgroundColor3=Color3.fromRGB(255,230,240)genBtn.BackgroundColor3=Color3.fromRGB(255,255,255)end)genBtn.MouseButton1Click:Connect(function()FarmingPage.Visible=false;GeneralPage.Visible=true;genBtn.BackgroundColor3=Color3.fromRGB(255,230,240)farmBtn.BackgroundColor3=Color3.fromRGB(255,255,255)end)farmBtn.BackgroundColor3=Color3.fromRGB(255,230,240)local isMinimized=false;MinimizeButton.MouseButton1Click:Connect(function()isMinimized=not isMinimized;if isMinimized then TweenService:Create(MainFrame,TweenInfo.new(0.3),{Size=UDim2.new(0,550,0,50)}):Play()MinimizeButton.Text="+"LeftWing.Visible=false;RightWing.Visible=false;SideMenu.Visible=false;ContentArea.Visible=false else TweenService:Create(MainFrame,TweenInfo.new(0.3),{Size=UDim2.new(0,550,0,400)}):Play()MinimizeButton.Text="−"LeftWing.Visible=true;RightWing.Visible=true;SideMenu.Visible=true;ContentArea.Visible=true end end)CloseButton.MouseButton1Click:Connect(function()ScreenGui:Destroy()stopAutoCollect()disableNoclip()workspace.Gravity=originalGravity;if player.Character and player.Character:FindFirstChild("Humanoid")then player.Character.Humanoid.WalkSpeed=originalWalkSpeed end end)local function modifyAxeSpeed()pcall(function()local char=player.Character;if char then local weapon=char:FindFirstChild(weaponName)or player.Backpack:FindFirstChild(weaponName)if weapon and weapon:IsA("Tool")then weapon.Enabled=true end end end)end;spawn(function()while true do wait(attackSpeed)if not autoAttackEnabled then continue end;local char=player.Character;if not char then continue end;local hum=char:FindFirstChild("Humanoid")if not hum then continue end;local weapon=char:FindFirstChild(weaponName)if not weapon then weapon=player.Backpack:FindFirstChild(weaponName)if weapon then hum:EquipTool(weapon)wait(0.03)modifyAxeSpeed()end end;weapon=char:FindFirstChild(weaponName)if weapon and weapon:IsA("Tool")then weapon:Activate()pcall(function()for _,anim in pairs(hum:GetPlayingAnimationTracks())do if anim.Name:lower():find("swing")or anim.Name:lower():find("slash")then anim:AdjustSpeed(4)end end end)end;pcall(function()for _,remote in pairs(game:GetService("ReplicatedStorage"):GetDescendants())do if remote:IsA("RemoteEvent")then local name=remote.Name:lower()if name:find("swing")or name:find("attack")or name:find("hit")or name:find("damage")then remote:FireServer()end end end end)end end)player.CharacterAdded:Connect(function(char)character=char;humanoid=char:WaitForChild("Humanoid")humanoidRootPart=char:WaitForChild("HumanoidRootPart")wait(0.5)if isAutoCollecting then cleanupFlight()currentTarget=findNearestLuckyMain()end end)DebrisFolder.DescendantRemoving:Connect(function(descendant)if descendant==currentTarget then releaseE()cleanupFlight()currentTarget=nil;wait(0.1)if isAutoCollecting then currentTarget=findNearestLuckyMain()end end end)print("Fight Your Zombie - No Shop Interrupts v2.2 by Norton!")