--======================================================== -- ENGINE SPEED TEST -- FULL VERSION -- -- KEY SYSTEM -- > Submit -- > ? How to get key -- > Legacy (no key) -- > Credits -- -- FEATURES -- Speed -- Infinite Jump -- Noclip -- Fly -- Aimbot -- -- LEGACY -- ESP -- Green box -- Green line -- Player name -- HP -- -- Key: uwu -- Credit: Jayden Liang --======================================================== local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local CoreGui = game:GetService("CoreGui") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer if not LocalPlayer then warn("LocalPlayer was not found.") return end --======================================================== -- CONFIG --======================================================== local GUI_NAME = "EngineSpeedTest" local KEY = "uwu" local DEFAULT_SPEED = 16 local MIN_SPEED = 0 local FLY_SPEED = 60 local AIMBOT_RANGE = 250 local AIMBOT_SMOOTHNESS = 0.18 local MENU_SIZE = UDim2.fromOffset(240, 240) local MINI_SIZE = UDim2.fromOffset(50, 50) local ESP_COLOR = Color3.fromRGB(0, 255, 80) --======================================================== -- REMOVE OLD GUI --======================================================== local OldGui = CoreGui:FindFirstChild(GUI_NAME) if OldGui then OldGui:Destroy() end --======================================================== -- ROOT --======================================================== local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = GUI_NAME ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = CoreGui --======================================================== -- HELPERS --======================================================== local function Corner(Object, Radius) local C = Instance.new("UICorner") C.CornerRadius = UDim.new(0, Radius) C.Parent = Object return C end local function Stroke(Object, Thickness, Color) local S = Instance.new("UIStroke") S.Thickness = Thickness S.Color = Color S.Parent = Object return S end local function ToggleVisual(Button, ButtonStroke, Name, Enabled) if Enabled then Button.Text = Name .. " : ON" Button.TextColor3 = Color3.fromRGB(80, 255, 140) Button.BackgroundColor3 = Color3.fromRGB(25, 60, 35) ButtonStroke.Color = Color3.fromRGB(80, 200, 120) else Button.Text = Name .. " : OFF" Button.TextColor3 = Color3.fromRGB(255, 100, 100) Button.BackgroundColor3 = Color3.fromRGB(35, 20, 45) ButtonStroke.Color = Color3.fromRGB(100, 40, 120) end end local function GetCharacter() return LocalPlayer.Character end local function GetHumanoid() local Character = GetCharacter() if not Character then return nil end return Character:FindFirstChildOfClass("Humanoid") end --======================================================== -- KEY SYSTEM --======================================================== local KeyFrame = Instance.new("Frame") KeyFrame.Size = UDim2.fromOffset(320, 255) KeyFrame.Position = UDim2.new(0.5, -160, 0.5, -127) KeyFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) KeyFrame.BackgroundTransparency = 0.05 KeyFrame.BorderSizePixel = 0 KeyFrame.Parent = ScreenGui Corner(KeyFrame, 14) Stroke( KeyFrame, 2, Color3.fromRGB(140, 0, 255) ) --======================================================== -- KEY TITLE --======================================================== local KeyTitle = Instance.new("TextLabel") KeyTitle.Size = UDim2.new(1, -20, 0, 30) KeyTitle.Position = UDim2.fromOffset(10, 18) KeyTitle.BackgroundTransparency = 1 KeyTitle.Text = "KEY SYSTEM" KeyTitle.TextColor3 = Color3.fromRGB(240, 240, 255) KeyTitle.TextSize = 20 KeyTitle.Font = Enum.Font.GothamBold KeyTitle.TextXAlignment = Enum.TextXAlignment.Center KeyTitle.Parent = KeyFrame --======================================================== -- KEY SUBTITLE --======================================================== local KeySubtitle = Instance.new("TextLabel") KeySubtitle.Size = UDim2.new(1, -30, 0, 25) KeySubtitle.Position = UDim2.fromOffset(15, 50) KeySubtitle.BackgroundTransparency = 1 KeySubtitle.Text = "Enter the key to continue" KeySubtitle.TextColor3 = Color3.fromRGB(155, 145, 170) KeySubtitle.TextSize = 13 KeySubtitle.Font = Enum.Font.GothamMedium KeySubtitle.TextXAlignment = Enum.TextXAlignment.Center KeySubtitle.Parent = KeyFrame --======================================================== -- KEY INPUT --======================================================== local KeyInput = Instance.new("TextBox") KeyInput.Size = UDim2.fromOffset(240, 38) KeyInput.Position = UDim2.new(0.5, -120, 0, 82) KeyInput.BackgroundColor3 = Color3.fromRGB(30, 25, 40) KeyInput.TextColor3 = Color3.fromRGB(210, 150, 255) KeyInput.PlaceholderColor3 = Color3.fromRGB(100, 90, 115) KeyInput.PlaceholderText = "Enter key..." KeyInput.Text = "" KeyInput.ClearTextOnFocus = false KeyInput.TextSize = 16 KeyInput.Font = Enum.Font.GothamBold KeyInput.TextXAlignment = Enum.TextXAlignment.Center KeyInput.Parent = KeyFrame Corner(KeyInput, 8) local KeyInputStroke = Stroke( KeyInput, 1.5, Color3.fromRGB(100, 50, 180) ) --======================================================== -- SUBMIT BUTTON --======================================================== local SubmitButton = Instance.new("TextButton") SubmitButton.Size = UDim2.fromOffset(105, 35) SubmitButton.Position = UDim2.new(0.5, -112, 0, 132) SubmitButton.BackgroundColor3 = Color3.fromRGB(95, 35, 150) SubmitButton.Text = "SUBMIT" SubmitButton.TextColor3 = Color3.fromRGB(255, 255, 255) SubmitButton.TextSize = 14 SubmitButton.Font = Enum.Font.GothamBold SubmitButton.AutoButtonColor = false SubmitButton.Parent = KeyFrame Corner(SubmitButton, 8) --======================================================== -- QUESTION MARK BUTTON --======================================================== local HelpButton = Instance.new("TextButton") HelpButton.Size = UDim2.fromOffset(40, 35) HelpButton.Position = UDim2.new(0.5, 3, 0, 132) HelpButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) HelpButton.Text = "?" HelpButton.TextColor3 = Color3.fromRGB(220, 160, 255) HelpButton.TextSize = 18 HelpButton.Font = Enum.Font.GothamBold HelpButton.AutoButtonColor = false HelpButton.Parent = KeyFrame Corner(HelpButton, 8) Stroke( HelpButton, 1.5, Color3.fromRGB(140, 0, 255) ) --======================================================== -- LEGACY BUTTON --======================================================== local LegacyButton = Instance.new("TextButton") LegacyButton.Size = UDim2.fromOffset(205, 34) LegacyButton.Position = UDim2.new(0.5, -102, 0, 174) LegacyButton.BackgroundColor3 = Color3.fromRGB(55, 25, 75) LegacyButton.Text = "legacy( no key)" LegacyButton.TextColor3 = Color3.fromRGB(210, 130, 255) LegacyButton.TextSize = 13 LegacyButton.Font = Enum.Font.GothamBold LegacyButton.AutoButtonColor = false LegacyButton.Parent = KeyFrame Corner(LegacyButton, 8) Stroke( LegacyButton, 1.5, Color3.fromRGB(100, 50, 180) ) --======================================================== -- STATUS --======================================================== local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, -20, 0, 25) StatusLabel.Position = UDim2.fromOffset(10, 214) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "" StatusLabel.TextColor3 = Color3.fromRGB(255, 80, 80) StatusLabel.TextSize = 12 StatusLabel.Font = Enum.Font.GothamMedium StatusLabel.TextXAlignment = Enum.TextXAlignment.Center StatusLabel.Parent = KeyFrame --======================================================== -- HOW TO GET KEY GUI --======================================================== local HelpFrame = Instance.new("Frame") HelpFrame.Size = UDim2.fromOffset(320, 210) HelpFrame.Position = KeyFrame.Position HelpFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) HelpFrame.BackgroundTransparency = 0.05 HelpFrame.BorderSizePixel = 0 HelpFrame.Visible = false HelpFrame.Parent = ScreenGui Corner(HelpFrame, 14) Stroke( HelpFrame, 2, Color3.fromRGB(140, 0, 255) ) local HelpTitle = Instance.new("TextLabel") HelpTitle.Size = UDim2.new(1, -20, 0, 30) HelpTitle.Position = UDim2.fromOffset(10, 20) HelpTitle.BackgroundTransparency = 1 HelpTitle.Text = "HOW TO GET KEY" HelpTitle.TextColor3 = Color3.fromRGB(240, 240, 255) HelpTitle.TextSize = 19 HelpTitle.Font = Enum.Font.GothamBold HelpTitle.TextXAlignment = Enum.TextXAlignment.Center HelpTitle.Parent = HelpFrame local SusWord = Instance.new("TextLabel") SusWord.Size = UDim2.new(1, -30, 0, 70) SusWord.Position = UDim2.fromOffset(15, 65) SusWord.BackgroundTransparency = 1 SusWord.Text = "the sus word" SusWord.TextColor3 = Color3.fromRGB(200, 130, 255) SusWord.TextSize = 24 SusWord.Font = Enum.Font.GothamBold SusWord.TextXAlignment = Enum.TextXAlignment.Center SusWord.TextYAlignment = Enum.TextYAlignment.Center SusWord.Parent = HelpFrame local HelpBack = Instance.new("TextButton") HelpBack.Size = UDim2.fromOffset(60, 38) HelpBack.Position = UDim2.new(0.5, -30, 1, -55) HelpBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) HelpBack.Text = "<" HelpBack.TextColor3 = Color3.fromRGB(255, 255, 255) HelpBack.TextSize = 22 HelpBack.Font = Enum.Font.GothamBold HelpBack.AutoButtonColor = false HelpBack.Parent = HelpFrame Corner(HelpBack, 8) --======================================================== -- CREDITS --======================================================== local CreditsArrow = Instance.new("TextButton") CreditsArrow.Size = UDim2.fromOffset(42, 70) CreditsArrow.Position = UDim2.new(0.5, 165, 0.5, -35) CreditsArrow.BackgroundColor3 = Color3.fromRGB(70, 20, 110) CreditsArrow.Text = ">" CreditsArrow.TextColor3 = Color3.fromRGB(210, 130, 255) CreditsArrow.TextSize = 28 CreditsArrow.Font = Enum.Font.GothamBold CreditsArrow.AutoButtonColor = false CreditsArrow.Parent = ScreenGui Corner(CreditsArrow, 10) Stroke( CreditsArrow, 2, Color3.fromRGB(140, 0, 255) ) local CreditsFrame = Instance.new("Frame") CreditsFrame.Size = UDim2.fromOffset(300, 190) CreditsFrame.Position = UDim2.new(0.5, -150, 0.5, -95) CreditsFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) CreditsFrame.BackgroundTransparency = 0.05 CreditsFrame.BorderSizePixel = 0 CreditsFrame.Visible = false CreditsFrame.Parent = ScreenGui Corner(CreditsFrame, 14) Stroke( CreditsFrame, 2, Color3.fromRGB(140, 0, 255) ) local CreditsTitle = Instance.new("TextLabel") CreditsTitle.Size = UDim2.new(1, -20, 0, 30) CreditsTitle.Position = UDim2.fromOffset(10, 22) CreditsTitle.BackgroundTransparency = 1 CreditsTitle.Text = "CREDITS" CreditsTitle.TextColor3 = Color3.fromRGB(240, 240, 255) CreditsTitle.TextSize = 20 CreditsTitle.Font = Enum.Font.GothamBold CreditsTitle.TextXAlignment = Enum.TextXAlignment.Center CreditsTitle.Parent = CreditsFrame local CreditText = Instance.new("TextLabel") CreditText.Size = UDim2.new(1, -30, 0, 45) CreditText.Position = UDim2.fromOffset(15, 70) CreditText.BackgroundTransparency = 1 CreditText.Text = "credit : Jayden Liang" CreditText.TextColor3 = Color3.fromRGB(200, 130, 255) CreditText.TextSize = 17 CreditText.Font = Enum.Font.GothamBold CreditText.TextXAlignment = Enum.TextXAlignment.Center CreditText.Parent = CreditsFrame local CreditsBack = Instance.new("TextButton") CreditsBack.Size = UDim2.fromOffset(120, 36) CreditsBack.Position = UDim2.new(0.5, -60, 0, 125) CreditsBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) CreditsBack.Text = "<" CreditsBack.TextColor3 = Color3.fromRGB(255, 255, 255) CreditsBack.TextSize = 22 CreditsBack.Font = Enum.Font.GothamBold CreditsBack.AutoButtonColor = false CreditsBack.Parent = CreditsFrame Corner(CreditsBack, 8) --======================================================== -- LEGACY GUI --======================================================== local LegacyFrame = Instance.new("Frame") LegacyFrame.Size = UDim2.fromOffset(320, 250) LegacyFrame.Position = KeyFrame.Position LegacyFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) LegacyFrame.BackgroundTransparency = 0.05 LegacyFrame.BorderSizePixel = 0 LegacyFrame.Visible = false LegacyFrame.Parent = ScreenGui Corner(LegacyFrame, 14) Stroke( LegacyFrame, 2, Color3.fromRGB(140, 0, 255) ) local LegacyTitle = Instance.new("TextLabel") LegacyTitle.Size = UDim2.new(1, -20, 0, 30) LegacyTitle.Position = UDim2.fromOffset(10, 18) LegacyTitle.BackgroundTransparency = 1 LegacyTitle.Text = "LEGACY" LegacyTitle.TextColor3 = Color3.fromRGB(240, 240, 255) LegacyTitle.TextSize = 20 LegacyTitle.Font = Enum.Font.GothamBold LegacyTitle.TextXAlignment = Enum.TextXAlignment.Center LegacyTitle.Parent = LegacyFrame local LegacyInfo = Instance.new("TextLabel") LegacyInfo.Size = UDim2.new(1, -30, 0, 25) LegacyInfo.Position = UDim2.fromOffset(15, 50) LegacyInfo.BackgroundTransparency = 1 LegacyInfo.Text = "Legacy features" LegacyInfo.TextColor3 = Color3.fromRGB(155, 145, 170) LegacyInfo.TextSize = 12 LegacyInfo.Font = Enum.Font.GothamMedium LegacyInfo.TextXAlignment = Enum.TextXAlignment.Center LegacyInfo.Parent = LegacyFrame --======================================================== -- ESP TOGGLE --======================================================== local ESPEnabled = false local ESPToggle = Instance.new("TextButton") ESPToggle.Size = UDim2.fromOffset(200, 48) ESPToggle.Position = UDim2.new(0.5, -100, 0.5, -20) ESPToggle.BackgroundColor3 = Color3.fromRGB(35, 20, 45) ESPToggle.Text = "ESP : OFF" ESPToggle.TextColor3 = Color3.fromRGB(255, 100, 100) ESPToggle.TextSize = 15 ESPToggle.Font = Enum.Font.GothamBold ESPToggle.AutoButtonColor = false ESPToggle.Parent = LegacyFrame Corner(ESPToggle, 10) local ESPToggleStroke = Stroke( ESPToggle, 2, Color3.fromRGB(100, 40, 120) ) local LegacyBack = Instance.new("TextButton") LegacyBack.Size = UDim2.fromOffset(48, 42) LegacyBack.Position = UDim2.new(0.5, -24, 0.82, -21) LegacyBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) LegacyBack.Text = "<" LegacyBack.TextColor3 = Color3.fromRGB(210, 130, 255) LegacyBack.TextSize = 24 LegacyBack.Font = Enum.Font.GothamBold LegacyBack.AutoButtonColor = false LegacyBack.Parent = LegacyFrame Corner(LegacyBack, 21) --======================================================== -- ESP SYSTEM --======================================================== local ESPObjects = {} local function RemoveESP(Player) local Data = ESPObjects[Player] if not Data then return end if Data.HealthConnection then Data.HealthConnection:Disconnect() end if Data.Highlight then Data.Highlight:Destroy() end if Data.Beam then Data.Beam:Destroy() end if Data.LocalAttachment then Data.LocalAttachment:Destroy() end if Data.TargetAttachment then Data.TargetAttachment:Destroy() end if Data.Billboard then Data.Billboard:Destroy() end ESPObjects[Player] = nil end local function CreateESP(Player) if Player == LocalPlayer then return end if not ESPEnabled then return end local Character = Player.Character local LocalCharacter = LocalPlayer.Character if not Character or not LocalCharacter then return end local TargetRoot = Character:FindFirstChild( "HumanoidRootPart" ) local LocalRoot = LocalCharacter:FindFirstChild( "HumanoidRootPart" ) local Humanoid = Character:FindFirstChildOfClass( "Humanoid" ) if not TargetRoot or not LocalRoot or not Humanoid then return end RemoveESP(Player) --==================================================== -- GREEN BOX --==================================================== local Highlight = Instance.new("Highlight") Highlight.Name = "LegacyESP_Box" Highlight.Adornee = Character Highlight.FillColor = ESP_COLOR Highlight.FillTransparency = 0.85 Highlight.OutlineColor = ESP_COLOR Highlight.OutlineTransparency = 0 Highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop Highlight.Parent = Character --==================================================== -- GREEN LINE --==================================================== local LocalAttachment = Instance.new("Attachment") LocalAttachment.Name = "LegacyESP_Origin" LocalAttachment.Parent = LocalRoot local TargetAttachment = Instance.new("Attachment") TargetAttachment.Name = "LegacyESP_Target" TargetAttachment.Parent = TargetRoot local Beam = Instance.new("Beam") Beam.Name = "LegacyESP_Line" Beam.Attachment0 = LocalAttachment Beam.Attachment1 = TargetAttachment Beam.FaceCamera = true Beam.LightEmission = 1 Beam.LightInfluence = 0 Beam.Width0 = 0.08 Beam.Width1 = 0.08 Beam.Color = ColorSequence.new( ESP_COLOR ) Beam.Transparency = NumberSequence.new(0) Beam.Parent = LocalRoot --==================================================== -- NAME + HP --==================================================== local Billboard = Instance.new("BillboardGui") Billboard.Name = "LegacyESP_Info" Billboard.Adornee = TargetRoot Billboard.Size = UDim2.fromOffset(200, 48) Billboard.StudsOffset = Vector3.new(0, 3.5, 0) Billboard.AlwaysOnTop = true Billboard.MaxDistance = 10000 Billboard.Parent = Character --==================================================== -- NAME --==================================================== local NameLabel = Instance.new("TextLabel") NameLabel.Size = UDim2.new(1, 0, 0.5, 0) NameLabel.Position = UDim2.new(0, 0, 0, 0) NameLabel.BackgroundTransparency = 1 NameLabel.Text = Player.DisplayName .. " @" .. Player.Name NameLabel.TextColor3 = ESP_COLOR NameLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) NameLabel.TextStrokeTransparency = 0 NameLabel.TextSize = 13 NameLabel.Font = Enum.Font.GothamBold NameLabel.TextXAlignment = Enum.TextXAlignment.Center NameLabel.Parent = Billboard --==================================================== -- HP --==================================================== local HPLabel = Instance.new("TextLabel") HPLabel.Size = UDim2.new(1, 0, 0.5, 0) HPLabel.Position = UDim2.new(0, 0, 0.5, 0) HPLabel.BackgroundTransparency = 1 HPLabel.TextColor3 = ESP_COLOR HPLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) HPLabel.TextStrokeTransparency = 0 HPLabel.TextSize = 12 HPLabel.Font = Enum.Font.GothamBold HPLabel.TextXAlignment = Enum.TextXAlignment.Center HPLabel.Parent = Billboard local function UpdateHealth() if not Humanoid or not Humanoid.Parent then return end local Health = math.max( 0, math.floor( Humanoid.Health + 0.5 ) ) local MaxHealth = math.max( 0, math.floor( Humanoid.MaxHealth + 0.5 ) ) HPLabel.Text = "HP: " .. Health .. " / " .. MaxHealth local Percent = 0 if MaxHealth > 0 then Percent = Health / MaxHealth end if Percent > 0.6 then HPLabel.TextColor3 = Color3.fromRGB( 0, 255, 80 ) elseif Percent > 0.3 then HPLabel.TextColor3 = Color3.fromRGB( 255, 220, 0 ) else HPLabel.TextColor3 = Color3.fromRGB( 255, 60, 60 ) end end UpdateHealth() local HealthConnection = Humanoid.HealthChanged:Connect( UpdateHealth ) ESPObjects[Player] = { Highlight = Highlight, Beam = Beam, LocalAttachment = LocalAttachment, TargetAttachment = TargetAttachment, Billboard = Billboard, HealthConnection = HealthConnection } end local function EnableESP() for _, Player in ipairs(Players:GetPlayers()) do if Player ~= LocalPlayer then task.spawn(function() CreateESP(Player) end) end end end local function DisableESP() for Player in pairs(ESPObjects) do RemoveESP(Player) end end local function RefreshESP() if not ESPEnabled then return end DisableESP() EnableESP() end ESPToggle.MouseButton1Click:Connect(function() ESPEnabled = not ESPEnabled ToggleVisual( ESPToggle, ESPToggleStroke, "ESP", ESPEnabled ) if ESPEnabled then EnableESP() else DisableESP() end end) Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function() task.wait(0.5) if ESPEnabled then CreateESP(Player) end end) end) Players.PlayerRemoving:Connect(function(Player) RemoveESP(Player) end) --======================================================== -- MAIN SPEED GUI --======================================================== local MainFrame = Instance.new("Frame") MainFrame.Size = MENU_SIZE MainFrame.Position = UDim2.new( 0.5, -120, 0.4, -120 ) MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) MainFrame.BackgroundTransparency = 0.12 MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.ClipsDescendants = true MainFrame.Visible = false MainFrame.Parent = ScreenGui Corner(MainFrame, 120) Stroke( MainFrame, 3, Color3.fromRGB(140, 0, 255) ) local InnerRing = Instance.new("Frame") InnerRing.Size = UDim2.new(0.92, 0, 0.92, 0) InnerRing.Position = UDim2.new(0.04, 0, 0.04, 0) InnerRing.BackgroundColor3 = Color3.fromRGB(25, 20, 35) InnerRing.BackgroundTransparency = 0.55 InnerRing.BorderSizePixel = 0 InnerRing.Parent = MainFrame Corner(InnerRing, 120) --======================================================== -- DRAG HANDLE --======================================================== local DragHandle = Instance.new("TextButton") DragHandle.Size = UDim2.fromOffset(130, 34) DragHandle.Position = UDim2.new(0.5, -65, 0, 12) DragHandle.BackgroundTransparency = 1 DragHandle.Text = "" DragHandle.AutoButtonColor = false DragHandle.Active = true DragHandle.ZIndex = 20 DragHandle.Parent = MainFrame local DragIndicator = Instance.new("Frame") DragIndicator.Size = UDim2.fromOffset(45, 4) DragIndicator.Position = UDim2.new(0.5, -22, 0, 12) DragIndicator.BackgroundColor3 = Color3.fromRGB(120, 60, 190) DragIndicator.BackgroundTransparency = 0.25 DragIndicator.BorderSizePixel = 0 DragIndicator.Parent = DragHandle Corner(DragIndicator, 4) --======================================================== -- SPEED --======================================================== local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 20) Title.Position = UDim2.fromOffset(0, 18) Title.BackgroundTransparency = 1 Title.Text = "SPEED" Title.TextColor3 = Color3.fromRGB(240, 240, 255) Title.TextSize = 13 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Center Title.Parent = MainFrame local SpeedLabel = Instance.new("TextLabel") SpeedLabel.Size = UDim2.fromOffset(75, 40) SpeedLabel.Position = UDim2.new(0.5, -90, 0.5, -25) SpeedLabel.BackgroundTransparency = 1 SpeedLabel.Text = "Speed" SpeedLabel.TextColor3 = Color3.fromRGB(240, 240, 255) SpeedLabel.TextSize = 19 SpeedLabel.Font = Enum.Font.GothamBold SpeedLabel.TextXAlignment = Enum.TextXAlignment.Right SpeedLabel.Parent = MainFrame local SpeedInput = Instance.new("TextBox") SpeedInput.Size = UDim2.fromOffset(80, 36) SpeedInput.Position = UDim2.new(0.5, 5, 0.5, -23) SpeedInput.BackgroundColor3 = Color3.fromRGB(30, 25, 40) SpeedInput.TextColor3 = Color3.fromRGB(190, 110, 255) SpeedInput.PlaceholderColor3 = Color3.fromRGB(90, 85, 105) SpeedInput.PlaceholderText = tostring(DEFAULT_SPEED) SpeedInput.Text = "" SpeedInput.ClearTextOnFocus = false SpeedInput.TextSize = 18 SpeedInput.Font = Enum.Font.GothamBold SpeedInput.TextXAlignment = Enum.TextXAlignment.Center SpeedInput.Parent = MainFrame Corner(SpeedInput, 8) Stroke( SpeedInput, 1.5, Color3.fromRGB(100, 50, 180) ) local CurrentSpeed = DEFAULT_SPEED local CurrentSpeedLabel = Instance.new("TextLabel") CurrentSpeedLabel.Size = UDim2.fromOffset(150, 22) CurrentSpeedLabel.Position = UDim2.new(0.5, -75, 0.65, 0) CurrentSpeedLabel.BackgroundTransparency = 1 CurrentSpeedLabel.Text = "Current: 16" CurrentSpeedLabel.TextColor3 = Color3.fromRGB(155, 135, 175) CurrentSpeedLabel.TextSize = 12 CurrentSpeedLabel.Font = Enum.Font.GothamMedium CurrentSpeedLabel.TextXAlignment = Enum.TextXAlignment.Center CurrentSpeedLabel.Parent = MainFrame local CloseButton = Instance.new("TextButton") CloseButton.Size = UDim2.fromOffset(34, 34) CloseButton.Position = UDim2.new(0.5, -17, 0.78, -17) CloseButton.BackgroundColor3 = Color3.fromRGB(35, 15, 20) CloseButton.Text = "✕" CloseButton.TextColor3 = Color3.fromRGB(255, 75, 75) CloseButton.TextSize = 16 CloseButton.Font = Enum.Font.GothamBold CloseButton.AutoButtonColor = false CloseButton.Parent = MainFrame Corner(CloseButton, 17) --======================================================== -- PLUS --======================================================== local PlusButton = Instance.new("TextButton") PlusButton.Size = UDim2.fromOffset(48, 42) PlusButton.Position = UDim2.new( MainFrame.Position.X.Scale, MainFrame.Position.X.Offset + 96, MainFrame.Position.Y.Scale, MainFrame.Position.Y.Offset + 248 ) PlusButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) PlusButton.Text = "+" PlusButton.TextColor3 = Color3.fromRGB(210, 130, 255) PlusButton.TextSize = 28 PlusButton.Font = Enum.Font.GothamBold PlusButton.AutoButtonColor = false PlusButton.Visible = false PlusButton.ZIndex = 50 PlusButton.Parent = ScreenGui Corner(PlusButton, 10) --======================================================== -- INFINITE JUMP --======================================================== local InfJumpFrame = Instance.new("Frame") InfJumpFrame.Size = MENU_SIZE InfJumpFrame.Position = MainFrame.Position InfJumpFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) InfJumpFrame.BackgroundTransparency = 0.12 InfJumpFrame.BorderSizePixel = 0 InfJumpFrame.Active = true InfJumpFrame.ClipsDescendants = true InfJumpFrame.Visible = false InfJumpFrame.Parent = ScreenGui Corner(InfJumpFrame, 120) Stroke( InfJumpFrame, 3, Color3.fromRGB(140, 0, 255) ) local InfTitle = Instance.new("TextLabel") InfTitle.Size = UDim2.new(1, 0, 0, 30) InfTitle.Position = UDim2.fromOffset(0, 28) InfTitle.BackgroundTransparency = 1 InfTitle.Text = "INF JUMP" InfTitle.TextColor3 = Color3.fromRGB(240, 240, 255) InfTitle.TextSize = 16 InfTitle.Font = Enum.Font.GothamBold InfTitle.TextXAlignment = Enum.TextXAlignment.Center InfTitle.Parent = InfJumpFrame local NoclipOpenButton = Instance.new("TextButton") NoclipOpenButton.Size = UDim2.fromOffset(42, 32) NoclipOpenButton.Position = UDim2.new(0.5, -21, 0, 58) NoclipOpenButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) NoclipOpenButton.Text = "§" NoclipOpenButton.TextColor3 = Color3.fromRGB(210, 130, 255) NoclipOpenButton.TextSize = 20 NoclipOpenButton.Font = Enum.Font.GothamBold NoclipOpenButton.AutoButtonColor = false NoclipOpenButton.Parent = InfJumpFrame Corner(NoclipOpenButton, 8) local InfJumpEnabled = false local InfJumpToggle = Instance.new("TextButton") InfJumpToggle.Size = UDim2.fromOffset(170, 48) InfJumpToggle.Position = UDim2.new(0.5, -85, 0.5, -24) InfJumpToggle.BackgroundColor3 = Color3.fromRGB(35, 20, 45) InfJumpToggle.Text = "INF JUMP : OFF" InfJumpToggle.TextColor3 = Color3.fromRGB(255, 100, 100) InfJumpToggle.TextSize = 15 InfJumpToggle.Font = Enum.Font.GothamBold InfJumpToggle.AutoButtonColor = false InfJumpToggle.Parent = InfJumpFrame Corner(InfJumpToggle, 10) local InfToggleStroke = Stroke( InfJumpToggle, 2, Color3.fromRGB(100, 40, 120) ) local MinusButton = Instance.new("TextButton") MinusButton.Size = UDim2.fromOffset(48, 42) MinusButton.Position = UDim2.new( InfJumpFrame.Position.X.Scale, InfJumpFrame.Position.X.Offset + 96, InfJumpFrame.Position.Y.Scale, InfJumpFrame.Position.Y.Offset + 248 ) MinusButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) MinusButton.Text = "-" MinusButton.TextColor3 = Color3.fromRGB(210, 130, 255) MinusButton.TextSize = 28 MinusButton.Font = Enum.Font.GothamBold MinusButton.AutoButtonColor = false MinusButton.Visible = false MinusButton.ZIndex = 50 MinusButton.Parent = ScreenGui Corner(MinusButton, 10) --======================================================== -- NOCLIP --======================================================== local NoclipFrame = Instance.new("Frame") NoclipFrame.Size = MENU_SIZE NoclipFrame.Position = InfJumpFrame.Position NoclipFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) NoclipFrame.BackgroundTransparency = 0.12 NoclipFrame.BorderSizePixel = 0 NoclipFrame.Active = true NoclipFrame.ClipsDescendants = true NoclipFrame.Visible = false NoclipFrame.Parent = ScreenGui Corner(NoclipFrame, 120) Stroke( NoclipFrame, 3, Color3.fromRGB(140, 0, 255) ) local NoclipTitle = Instance.new("TextLabel") NoclipTitle.Size = UDim2.new(1, 0, 0, 30) NoclipTitle.Position = UDim2.fromOffset(0, 28) NoclipTitle.BackgroundTransparency = 1 NoclipTitle.Text = "NOCLIP" NoclipTitle.TextColor3 = Color3.fromRGB(240, 240, 255) NoclipTitle.TextSize = 16 NoclipTitle.Font = Enum.Font.GothamBold NoclipTitle.TextXAlignment = Enum.TextXAlignment.Center NoclipTitle.Parent = NoclipFrame local FlyOpenButton = Instance.new("TextButton") FlyOpenButton.Size = UDim2.fromOffset(60, 32) FlyOpenButton.Position = UDim2.new(0.5, -30, 0, 58) FlyOpenButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) FlyOpenButton.Text = "" FlyOpenButton.TextColor3 = Color3.fromRGB(210, 130, 255) FlyOpenButton.TextSize = 16 FlyOpenButton.Font = Enum.Font.GothamBold FlyOpenButton.AutoButtonColor = false FlyOpenButton.Parent = NoclipFrame Corner(FlyOpenButton, 8) local NoclipEnabled = false local NoclipToggle = Instance.new("TextButton") NoclipToggle.Size = UDim2.fromOffset(170, 48) NoclipToggle.Position = UDim2.new(0.5, -85, 0.5, -24) NoclipToggle.BackgroundColor3 = Color3.fromRGB(35, 20, 45) NoclipToggle.Text = "NOCLIP : OFF" NoclipToggle.TextColor3 = Color3.fromRGB(255, 100, 100) NoclipToggle.TextSize = 15 NoclipToggle.Font = Enum.Font.GothamBold NoclipToggle.AutoButtonColor = false NoclipToggle.Parent = NoclipFrame Corner(NoclipToggle, 10) local NoclipToggleStroke = Stroke( NoclipToggle, 2, Color3.fromRGB(100, 40, 120) ) local NoclipBack = Instance.new("TextButton") NoclipBack.Size = UDim2.fromOffset(48, 42) NoclipBack.Position = UDim2.new(0.5, -24, 0.78, -21) NoclipBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) NoclipBack.Text = "<" NoclipBack.TextColor3 = Color3.fromRGB(210, 130, 255) NoclipBack.TextSize = 24 NoclipBack.Font = Enum.Font.GothamBold NoclipBack.AutoButtonColor = false NoclipBack.Parent = NoclipFrame Corner(NoclipBack, 21) --======================================================== -- FLY --======================================================== local FlyFrame = Instance.new("Frame") FlyFrame.Size = MENU_SIZE FlyFrame.Position = NoclipFrame.Position FlyFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) FlyFrame.BackgroundTransparency = 0.12 FlyFrame.BorderSizePixel = 0 FlyFrame.Active = true FlyFrame.ClipsDescendants = true FlyFrame.Visible = false FlyFrame.Parent = ScreenGui Corner(FlyFrame, 120) Stroke( FlyFrame, 3, Color3.fromRGB(140, 0, 255) ) local FlyTitle = Instance.new("TextLabel") FlyTitle.Size = UDim2.new(1, 0, 0, 30) FlyTitle.Position = UDim2.fromOffset(0, 28) FlyTitle.BackgroundTransparency = 1 FlyTitle.Text = "FLY" FlyTitle.TextColor3 = Color3.fromRGB(240, 240, 255) FlyTitle.TextSize = 16 FlyTitle.Font = Enum.Font.GothamBold FlyTitle.TextXAlignment = Enum.TextXAlignment.Center FlyTitle.Parent = FlyFrame local AimbotOpenButton = Instance.new("TextButton") AimbotOpenButton.Size = UDim2.fromOffset(48, 32) AimbotOpenButton.Position = UDim2.new(0.5, -24, 0, 58) AimbotOpenButton.BackgroundColor3 = Color3.fromRGB(70, 20, 110) AimbotOpenButton.Text = "+" AimbotOpenButton.TextColor3 = Color3.fromRGB(210, 130, 255) AimbotOpenButton.TextSize = 24 AimbotOpenButton.Font = Enum.Font.GothamBold AimbotOpenButton.AutoButtonColor = false AimbotOpenButton.Parent = FlyFrame Corner(AimbotOpenButton, 8) local FlyEnabled = false local FlyVelocity local FlyGyro local FlyToggle = Instance.new("TextButton") FlyToggle.Size = UDim2.fromOffset(170, 48) FlyToggle.Position = UDim2.new(0.5, -85, 0.5, -24) FlyToggle.BackgroundColor3 = Color3.fromRGB(35, 20, 45) FlyToggle.Text = "FLY : OFF" FlyToggle.TextColor3 = Color3.fromRGB(255, 100, 100) FlyToggle.TextSize = 15 FlyToggle.Font = Enum.Font.GothamBold FlyToggle.AutoButtonColor = false FlyToggle.Parent = FlyFrame Corner(FlyToggle, 10) local FlyToggleStroke = Stroke( FlyToggle, 2, Color3.fromRGB(100, 40, 120) ) local FlyInfo = Instance.new("TextLabel") FlyInfo.Size = UDim2.new(1, -40, 0, 45) FlyInfo.Position = UDim2.new(0.5, -100, 0.67, 0) FlyInfo.BackgroundTransparency = 1 FlyInfo.Text = "WASD = Move\nSPACE = Up | CTRL = Down" FlyInfo.TextColor3 = Color3.fromRGB(155, 135, 175) FlyInfo.TextSize = 11 FlyInfo.Font = Enum.Font.GothamMedium FlyInfo.TextXAlignment = Enum.TextXAlignment.Center FlyInfo.Parent = FlyFrame local FlyBack = Instance.new("TextButton") FlyBack.Size = UDim2.fromOffset(48, 42) FlyBack.Position = UDim2.new(0.5, -24, 0.78, -21) FlyBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) FlyBack.Text = "<" FlyBack.TextColor3 = Color3.fromRGB(210, 130, 255) FlyBack.TextSize = 24 FlyBack.Font = Enum.Font.GothamBold FlyBack.AutoButtonColor = false FlyBack.Parent = FlyFrame Corner(FlyBack, 21) --======================================================== -- AIMBOT --======================================================== local AimbotFrame = Instance.new("Frame") AimbotFrame.Size = MENU_SIZE AimbotFrame.Position = FlyFrame.Position AimbotFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) AimbotFrame.BackgroundTransparency = 0.12 AimbotFrame.BorderSizePixel = 0 AimbotFrame.Active = true AimbotFrame.ClipsDescendants = true AimbotFrame.Visible = false AimbotFrame.Parent = ScreenGui Corner(AimbotFrame, 120) Stroke( AimbotFrame, 3, Color3.fromRGB(140, 0, 255) ) local AimbotTitle = Instance.new("TextLabel") AimbotTitle.Size = UDim2.new(1, 0, 0, 30) AimbotTitle.Position = UDim2.fromOffset(0, 28) AimbotTitle.BackgroundTransparency = 1 AimbotTitle.Text = "AIMBOT" AimbotTitle.TextColor3 = Color3.fromRGB(240, 240, 255) AimbotTitle.TextSize = 16 AimbotTitle.Font = Enum.Font.GothamBold AimbotTitle.TextXAlignment = Enum.TextXAlignment.Center AimbotTitle.Parent = AimbotFrame local AimbotEnabled = false local CurrentTarget = nil local AimbotToggle = Instance.new("TextButton") AimbotToggle.Size = UDim2.fromOffset(170, 48) AimbotToggle.Position = UDim2.new(0.5, -85, 0.5, -24) AimbotToggle.BackgroundColor3 = Color3.fromRGB(35, 20, 45) AimbotToggle.Text = "AIMBOT : OFF" AimbotToggle.TextColor3 = Color3.fromRGB(255, 100, 100) AimbotToggle.TextSize = 15 AimbotToggle.Font = Enum.Font.GothamBold AimbotToggle.AutoButtonColor = false AimbotToggle.Parent = AimbotFrame Corner(AimbotToggle, 10) local AimbotToggleStroke = Stroke( AimbotToggle, 2, Color3.fromRGB(100, 40, 120) ) local TargetLabel = Instance.new("TextLabel") TargetLabel.Size = UDim2.new(1, -40, 0, 30) TargetLabel.Position = UDim2.new(0.5, -100, 0.66, 0) TargetLabel.BackgroundTransparency = 1 TargetLabel.Text = "Target: None" TargetLabel.TextColor3 = Color3.fromRGB(155, 135, 175) TargetLabel.TextSize = 12 TargetLabel.Font = Enum.Font.GothamMedium TargetLabel.TextXAlignment = Enum.TextXAlignment.Center TargetLabel.Parent = AimbotFrame local AimbotBack = Instance.new("TextButton") AimbotBack.Size = UDim2.fromOffset(48, 42) AimbotBack.Position = UDim2.new(0.5, -24, 0.78, -21) AimbotBack.BackgroundColor3 = Color3.fromRGB(70, 20, 110) AimbotBack.Text = "-" AimbotBack.TextColor3 = Color3.fromRGB(210, 130, 255) AimbotBack.TextSize = 28 AimbotBack.Font = Enum.Font.GothamBold AimbotBack.AutoButtonColor = false AimbotBack.Parent = AimbotFrame Corner(AimbotBack, 21) --======================================================== -- MINI BUTTON --======================================================== local MiniButton = Instance.new("TextButton") MiniButton.Size = MINI_SIZE MiniButton.Position = UDim2.new(0.5, -25, 0.4, -25) MiniButton.BackgroundColor3 = Color3.fromRGB(5, 5, 7) MiniButton.BackgroundTransparency = 0.05 MiniButton.BorderSizePixel = 0 MiniButton.Text = "S" MiniButton.TextColor3 = Color3.fromRGB(190, 110, 255) MiniButton.TextSize = 18 MiniButton.Font = Enum.Font.GothamBold MiniButton.AutoButtonColor = false MiniButton.Visible = false MiniButton.Active = true MiniButton.ZIndex = 100 MiniButton.Parent = ScreenGui Corner(MiniButton, 25) --======================================================== -- SPEED FUNCTION --======================================================== local function SetSpeed(Value) Value = tonumber(Value) if not Value then return false end Value = math.max( Value, MIN_SPEED ) CurrentSpeed = Value CurrentSpeedLabel.Text = "Current: " .. tostring(Value) local Humanoid = GetHumanoid() if Humanoid then Humanoid.WalkSpeed = Value end return true end local function ApplySpeed() local Value = tonumber( SpeedInput.Text ) if not Value then SpeedInput.Text = "" return end SetSpeed(Value) SpeedInput.Text = "" end SpeedInput.FocusLost:Connect(function(EnterPressed) if EnterPressed then ApplySpeed() end end) --======================================================== -- INFINITE JUMP --======================================================== UserInputService.JumpRequest:Connect(function() if not InfJumpEnabled then return end local Humanoid = GetHumanoid() if Humanoid then Humanoid:ChangeState( Enum.HumanoidStateType.Jumping ) end end) InfJumpToggle.MouseButton1Click:Connect(function() InfJumpEnabled = not InfJumpEnabled ToggleVisual( InfJumpToggle, InfToggleStroke, "INF JUMP", InfJumpEnabled ) end) --======================================================== -- NOCLIP --======================================================== local OriginalCollision = {} local function SetNoclip(State) local Character = GetCharacter() if not Character then return end for _, Part in ipairs(Character:GetDescendants()) do if Part:IsA("BasePart") then if State then if OriginalCollision[Part] == nil then OriginalCollision[Part] = Part.CanCollide end Part.CanCollide = false else if OriginalCollision[Part] ~= nil then Part.CanCollide = OriginalCollision[Part] OriginalCollision[Part] = nil end end end end end RunService.Stepped:Connect(function() if NoclipEnabled then SetNoclip(true) end end) NoclipToggle.MouseButton1Click:Connect(function() NoclipEnabled = not NoclipEnabled ToggleVisual( NoclipToggle, NoclipToggleStroke, "NOCLIP", NoclipEnabled ) SetNoclip( NoclipEnabled ) end) --======================================================== -- FLY --======================================================== local FlyKeys = { W = false, A = false, S = false, D = false, Space = false, Ctrl = false } local function StopFly() FlyEnabled = false if FlyVelocity then FlyVelocity:Destroy() FlyVelocity = nil end if FlyGyro then FlyGyro:Destroy() FlyGyro = nil end local Humanoid = GetHumanoid() if Humanoid then Humanoid.PlatformStand = false Humanoid.AutoRotate = true end ToggleVisual( FlyToggle, FlyToggleStroke, "FLY", false ) end local function StartFly() local Character = GetCharacter() local Humanoid = GetHumanoid() if not Character or not Humanoid then return end local Root = Character:FindFirstChild( "HumanoidRootPart" ) if not Root then return end FlyEnabled = true Humanoid.PlatformStand = true Humanoid.AutoRotate = false FlyVelocity = Instance.new("BodyVelocity") FlyVelocity.MaxForce = Vector3.new( math.huge, math.huge, math.huge ) FlyVelocity.Velocity = Vector3.zero FlyVelocity.Parent = Root FlyGyro = Instance.new("BodyGyro") FlyGyro.MaxTorque = Vector3.new( math.huge, math.huge, math.huge ) FlyGyro.P = 10000 FlyGyro.D = 500 FlyGyro.CFrame = Root.CFrame FlyGyro.Parent = Root ToggleVisual( FlyToggle, FlyToggleStroke, "FLY", true ) end FlyToggle.MouseButton1Click:Connect(function() if FlyEnabled then StopFly() else StartFly() end end) UserInputService.InputBegan:Connect(function( Input, GameProcessed ) if GameProcessed then return end if Input.KeyCode == Enum.KeyCode.W then FlyKeys.W = true elseif Input.KeyCode == Enum.KeyCode.A then FlyKeys.A = true elseif Input.KeyCode == Enum.KeyCode.S then FlyKeys.S = true elseif Input.KeyCode == Enum.KeyCode.D then FlyKeys.D = true elseif Input.KeyCode == Enum.KeyCode.Space then FlyKeys.Space = true elseif Input.KeyCode == Enum.KeyCode.LeftControl then FlyKeys.Ctrl = true end end) UserInputService.InputEnded:Connect(function(Input) if Input.KeyCode == Enum.KeyCode.W then FlyKeys.W = false elseif Input.KeyCode == Enum.KeyCode.A then FlyKeys.A = false elseif Input.KeyCode == Enum.KeyCode.S then FlyKeys.S = false elseif Input.KeyCode == Enum.KeyCode.D then FlyKeys.D = false elseif Input.KeyCode == Enum.KeyCode.Space then FlyKeys.Space = false elseif Input.KeyCode == Enum.KeyCode.LeftControl then FlyKeys.Ctrl = false end end) RunService.RenderStepped:Connect(function() if not FlyEnabled then return end local Character = GetCharacter() local Root = Character and Character:FindFirstChild( "HumanoidRootPart" ) if not Root or not FlyVelocity or not FlyGyro then return end local Camera = workspace.CurrentCamera if not Camera then return end local Direction = Vector3.zero local CameraCF = Camera.CFrame if FlyKeys.W then Direction += CameraCF.LookVector end if FlyKeys.S then Direction -= CameraCF.LookVector end if FlyKeys.D then Direction += CameraCF.RightVector end if FlyKeys.A then Direction -= CameraCF.RightVector end if FlyKeys.Space then Direction += Vector3.new(0, 1, 0) end if FlyKeys.Ctrl then Direction -= Vector3.new(0, 1, 0) end if Direction.Magnitude > 0 then Direction = Direction.Unit * FLY_SPEED end FlyVelocity.Velocity = Direction FlyGyro.CFrame = CFrame.lookAt( Root.Position, Root.Position + CameraCF.LookVector ) end) --======================================================== -- AIMBOT --======================================================== local function IsValidTarget(Player) if not Player or Player == LocalPlayer then return false end local Character = Player.Character if not Character then return false end local Humanoid = Character:FindFirstChildOfClass( "Humanoid" ) local Root = Character:FindFirstChild( "HumanoidRootPart" ) if not Humanoid or not Root then return false end if Humanoid.Health <= 0 then return false end return true end local function GetNearestTarget() local MyCharacter = GetCharacter() if not MyCharacter then return nil end local MyRoot = MyCharacter:FindFirstChild( "HumanoidRootPart" ) if not MyRoot then return nil end local NearestPlayer = nil local NearestDistance = AIMBOT_RANGE for _, Player in ipairs(Players:GetPlayers()) do if IsValidTarget(Player) then local Root = Player.Character: FindFirstChild( "HumanoidRootPart" ) if Root then local Distance = ( Root.Position - MyRoot.Position ).Magnitude if Distance < NearestDistance then NearestDistance = Distance NearestPlayer = Player end end end end return NearestPlayer end local function UpdateTarget() if not IsValidTarget( CurrentTarget ) then CurrentTarget = GetNearestTarget() end if CurrentTarget then TargetLabel.Text = "Target: " .. CurrentTarget.Name else TargetLabel.Text = "Target: None" end end local function DisableAimbot() AimbotEnabled = false CurrentTarget = nil ToggleVisual( AimbotToggle, AimbotToggleStroke, "AIMBOT", false ) TargetLabel.Text = "Target: None" end local function EnableAimbot() AimbotEnabled = true CurrentTarget = GetNearestTarget() ToggleVisual( AimbotToggle, AimbotToggleStroke, "AIMBOT", true ) UpdateTarget() end AimbotToggle.MouseButton1Click:Connect(function() if AimbotEnabled then DisableAimbot() else EnableAimbot() end end) RunService.RenderStepped:Connect(function() if not AimbotEnabled then return end if not IsValidTarget( CurrentTarget ) then CurrentTarget = GetNearestTarget() end if not CurrentTarget then TargetLabel.Text = "Target: None" return end local Character = CurrentTarget.Character local TargetRoot = Character and Character:FindFirstChild( "HumanoidRootPart" ) local Camera = workspace.CurrentCamera if not TargetRoot or not Camera then CurrentTarget = nil return end local DesiredCFrame = CFrame.lookAt( Camera.CFrame.Position, TargetRoot.Position ) Camera.CFrame = Camera.CFrame:Lerp( DesiredCFrame, AIMBOT_SMOOTHNESS ) TargetLabel.Text = "Target: " .. CurrentTarget.Name end) --======================================================== -- NAVIGATION --======================================================== HelpButton.MouseButton1Click:Connect(function() KeyFrame.Visible = false CreditsArrow.Visible = false HelpFrame.Visible = true end) HelpBack.MouseButton1Click:Connect(function() HelpFrame.Visible = false KeyFrame.Visible = true CreditsArrow.Visible = true end) LegacyButton.MouseButton1Click:Connect(function() KeyFrame.Visible = false CreditsArrow.Visible = false CreditsFrame.Visible = false HelpFrame.Visible = false LegacyFrame.Visible = true end) LegacyBack.MouseButton1Click:Connect(function() LegacyFrame.Visible = false KeyFrame.Visible = true CreditsArrow.Visible = true end) CreditsArrow.MouseButton1Click:Connect(function() KeyFrame.Visible = false CreditsArrow.Visible = false CreditsFrame.Visible = true end) CreditsBack.MouseButton1Click:Connect(function() CreditsFrame.Visible = false KeyFrame.Visible = true CreditsArrow.Visible = true end) --======================================================== -- MENU NAVIGATION --======================================================== AimbotOpenButton.MouseButton1Click:Connect(function() FlyFrame.Visible = false AimbotFrame.Visible = true end) AimbotBack.MouseButton1Click:Connect(function() AimbotFrame.Visible = false FlyFrame.Visible = true end) FlyBack.MouseButton1Click:Connect(function() FlyFrame.Visible = false NoclipFrame.Visible = true end) FlyOpenButton.MouseButton1Click:Connect(function() NoclipFrame.Visible = false FlyFrame.Visible = true end) NoclipOpenButton.MouseButton1Click:Connect(function() InfJumpFrame.Visible = false MinusButton.Visible = false NoclipFrame.Visible = true end) NoclipBack.MouseButton1Click:Connect(function() NoclipFrame.Visible = false InfJumpFrame.Visible = true MinusButton.Visible = true end) MinusButton.MouseButton1Click:Connect(function() InfJumpFrame.Visible = false MinusButton.Visible = false MainFrame.Visible = true PlusButton.Visible = true end) PlusButton.MouseButton1Click:Connect(function() MainFrame.Visible = false PlusButton.Visible = false InfJumpFrame.Visible = true MinusButton.Visible = true end) --======================================================== -- DRAGGING --======================================================== local Dragging = false local DragStart local StartPosition DragHandle.InputBegan:Connect(function(Input) if Input.UserInputType ~= Enum.UserInputType.MouseButton1 and Input.UserInputType ~= Enum.UserInputType.Touch then return end Dragging = true DragStart = Input.Position StartPosition = MainFrame.Position local Connection Connection = Input.Changed:Connect(function() if Input.UserInputState == Enum.UserInputState.End then Dragging = false if Connection then Connection:Disconnect() end end end) end) UserInputService.InputChanged:Connect(function(Input) if not Dragging then return end if Input.UserInputType ~= Enum.UserInputType.MouseMovement and Input.UserInputType ~= Enum.UserInputType.Touch then return end local Delta = Input.Position - DragStart MainFrame.Position = UDim2.new( StartPosition.X.Scale, StartPosition.X.Offset + Delta.X, StartPosition.Y.Scale, StartPosition.Y.Offset + Delta.Y ) PlusButton.Position = UDim2.new( MainFrame.Position.X.Scale, MainFrame.Position.X.Offset + 96, MainFrame.Position.Y.Scale, MainFrame.Position.Y.Offset + 248 ) end) --======================================================== -- DRAG ALL GUI PANELS EXCEPT KEY SYSTEM --======================================================== local function MakeDraggable(Frame, Handle, Companion) if not Frame or not Handle then return end Handle.Active = true local IsDragging = false local DragStartPosition local FrameStartPosition Handle.InputBegan:Connect(function(Input) if Input.UserInputType ~= Enum.UserInputType.MouseButton1 and Input.UserInputType ~= Enum.UserInputType.Touch then return end IsDragging = true DragStartPosition = Input.Position FrameStartPosition = Frame.Position local Connection Connection = Input.Changed:Connect(function() if Input.UserInputState == Enum.UserInputState.End then IsDragging = false if Connection then Connection:Disconnect() end end end) end) UserInputService.InputChanged:Connect(function(Input) if not IsDragging then return end if Input.UserInputType ~= Enum.UserInputType.MouseMovement and Input.UserInputType ~= Enum.UserInputType.Touch then return end local Delta = Input.Position - DragStartPosition Frame.Position = UDim2.new( FrameStartPosition.X.Scale, FrameStartPosition.X.Offset + Delta.X, FrameStartPosition.Y.Scale, FrameStartPosition.Y.Offset + Delta.Y ) if Companion then Companion.Position = UDim2.new( Frame.Position.X.Scale, Frame.Position.X.Offset + 96, Frame.Position.Y.Scale, Frame.Position.Y.Offset + 248 ) end end) end MakeDraggable(CreditsFrame, CreditsTitle) MakeDraggable(LegacyFrame, LegacyTitle) MakeDraggable(InfJumpFrame, InfTitle, MinusButton) MakeDraggable(NoclipFrame, NoclipTitle) MakeDraggable(FlyFrame, FlyTitle) MakeDraggable(AimbotFrame, AimbotTitle) -- KeyFrame and HelpFrame stay fixed as the key system. --======================================================== -- MINIMIZE --======================================================== local IsMinimized = false CloseButton.MouseButton1Click:Connect(function() if IsMinimized then return end IsMinimized = true StopFly() DisableAimbot() local Position = MainFrame.Position MiniButton.Position = UDim2.new( Position.X.Scale, Position.X.Offset + 95, Position.Y.Scale, Position.Y.Offset + 95 ) MiniButton.Visible = true PlusButton.Visible = false MinusButton.Visible = false InfJumpFrame.Visible = false NoclipFrame.Visible = false FlyFrame.Visible = false AimbotFrame.Visible = false local Tween = TweenService:Create( MainFrame, TweenInfo.new( 0.25, Enum.EasingStyle.Back, Enum.EasingDirection.In ), { Size = UDim2.fromOffset(5, 5), BackgroundTransparency = 1, Rotation = 90 } ) Tween:Play() Tween.Completed:Once(function() MainFrame.Visible = false end) end) --======================================================== -- REOPEN --======================================================== MiniButton.MouseButton1Click:Connect(function() if not IsMinimized then return end IsMinimized = false MiniButton.Visible = false MainFrame.Visible = true MainFrame.Size = UDim2.fromOffset(5, 5) MainFrame.BackgroundTransparency = 1 MainFrame.Rotation = -90 TweenService:Create( MainFrame, TweenInfo.new( 0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out ), { Size = MENU_SIZE, BackgroundTransparency = 0.12, Rotation = 0 } ):Play() PlusButton.Visible = true end) --======================================================== -- LOCAL PLAYER RESPAWN --======================================================== LocalPlayer.CharacterAdded:Connect(function(Character) StopFly() DisableAimbot() OriginalCollision = {} local Humanoid = Character:WaitForChild( "Humanoid", 10 ) if Humanoid then task.wait(0.1) Humanoid.WalkSpeed = CurrentSpeed end if NoclipEnabled then task.wait(0.2) SetNoclip(true) end if ESPEnabled then task.wait(0.5) RefreshESP() end end) --======================================================== -- KEY CHECK --======================================================== local KeyAccepted = false local function OpenMainMenu() KeyFrame.Visible = false HelpFrame.Visible = false CreditsArrow.Visible = false CreditsFrame.Visible = false LegacyFrame.Visible = false MainFrame.Visible = true PlusButton.Visible = true SetSpeed( DEFAULT_SPEED ) end local function CheckKey() if KeyAccepted then return end local EnteredKey = tostring( KeyInput.Text ) if EnteredKey == KEY then KeyAccepted = true StatusLabel.TextColor3 = Color3.fromRGB( 80, 255, 140 ) StatusLabel.Text = "Correct key!" SubmitButton.Active = false HelpButton.Active = false LegacyButton.Active = false KeyInput.Active = false task.wait(0.35) OpenMainMenu() else StatusLabel.TextColor3 = Color3.fromRGB( 255, 80, 80 ) StatusLabel.Text = "Incorrect key!" KeyInput.Text = "" KeyInputStroke.Color = Color3.fromRGB( 255, 50, 70 ) task.delay( 0.3, function() if KeyInputStroke and KeyInputStroke.Parent then KeyInputStroke.Color = Color3.fromRGB( 100, 50, 180 ) end end ) end end SubmitButton.MouseButton1Click:Connect( CheckKey ) KeyInput.FocusLost:Connect( function(EnterPressed) if EnterPressed then CheckKey() end end ) --======================================================== -- INITIAL STATE --======================================================== KeyFrame.Visible = true HelpFrame.Visible = false CreditsArrow.Visible = true CreditsFrame.Visible = false LegacyFrame.Visible = false MainFrame.Visible = false PlusButton.Visible = false InfJumpFrame.Visible = false MinusButton.Visible = false NoclipFrame.Visible = false FlyFrame.Visible = false AimbotFrame.Visible = false MiniButton.Visible = false print( "[EngineSpeedTest] Full version loaded." )