-- KEY SYSTEM SIMPLE local KEY = "xeeuy1337" local DISCORD = "https://discord.gg/kuKJk3679R" local Players = game:GetService("Players") local Player = Players.LocalPlayer local Gui = Instance.new("ScreenGui") Gui.Name = "KeySystem" Gui.ResetOnSpawn = false Gui.Parent = Player:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0,300,0,200) Frame.Position = UDim2.new(0.5,-150,0.5,-100) Frame.BackgroundColor3 = Color3.fromRGB(25,25,25) Frame.Parent = Gui local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1,0,0,40) Title.BackgroundTransparency = 1 Title.Text = "Key System" Title.TextColor3 = Color3.new(1,1,1) Title.TextSize = 22 Title.Parent = Frame local Box = Instance.new("TextBox") Box.Size = UDim2.new(1,-40,0,35) Box.Position = UDim2.new(0,20,0,55) Box.PlaceholderText = "Enter Key..." Box.BackgroundColor3 = Color3.fromRGB(40,40,40) Box.TextColor3 = Color3.new(1,1,1) Box.Parent = Frame local Submit = Instance.new("TextButton") Submit.Size = UDim2.new(0.5,-25,0,35) Submit.Position = UDim2.new(0,20,0,105) Submit.Text = "Submit" Submit.BackgroundColor3 = Color3.fromRGB(0,120,255) Submit.TextColor3 = Color3.new(1,1,1) Submit.Parent = Frame local GetKey = Instance.new("TextButton") GetKey.Size = UDim2.new(0.5,-25,0,35) GetKey.Position = UDim2.new(0.5,5,0,105) GetKey.Text = "Get Key" GetKey.BackgroundColor3 = Color3.fromRGB(50,50,50) GetKey.TextColor3 = Color3.new(1,1,1) GetKey.Parent = Frame local Status = Instance.new("TextLabel") Status.Size = UDim2.new(1,0,0,30) Status.Position = UDim2.new(0,0,0,155) Status.BackgroundTransparency = 1 Status.Text = "" Status.TextColor3 = Color3.fromRGB(255,80,80) Status.Parent = Frame GetKey.MouseButton1Click:Connect(function() if setclipboard then setclipboard(DISCORD) Status.Text = "Discord copied !" else Status.Text = DISCORD end Status.TextColor3 = Color3.fromRGB(0,255,100) end) Submit.MouseButton1Click:Connect(function() if Box.Text == KEY then Status.Text = "Correct key !" Status.TextColor3 = Color3.fromRGB(0,255,100) task.wait(0.5) -- enlève le menu Gui:Destroy() --!strict type ConfigType = { Enabled: boolean, FOV: number, ShowFOV: boolean, HitChance: number, TargetPart: string, WallCheck: boolean, TeamCheck: boolean, FOVColor: Color3, ESPEnabled: boolean, SnaplinesEnabled: boolean, ESPVisibleColor: Color3, ESPHiddenColor: Color3, BulletTrailEnabled: boolean, BulletTrailColor: Color3, } type HitData = { Position: Vector3, Instance: Instance, Material: string, Normal: Vector3, Exit: boolean, } type RaycastResultCustom = { Distance: number, Origin: Vector3, Direction: Vector3, Hits: {HitData}, } type RawCastResult = { instance: Instance?, position: Vector3, normal: Vector3?, material: Enum.Material?, } type RawCastThroughResult = { instance: Instance, position: Vector3, material: Enum.Material, normal: Vector3?, } type BulletProperties = { Penetration: number?, Range: number?, } type BulletClass = { Properties: BulletProperties, _performRaycast: (self: BulletClass, spread: number) -> RaycastResultCustom, } type RaycastModule = { cast: (origin: Vector3, directionVector: Vector3, param3: any, ignoreList: {Instance}) -> RawCastResult, castThrough: (origin: Vector3, directionVector: Vector3, penetration: number, ignoreList: {Instance}) -> {RawCastThroughResult}, } type DrawingCircle = { Color: Color3, Thickness: number, NumSides: number, Filled: boolean, Transparency: number, Visible: boolean, Radius: number, Position: Vector2, Remove: (self: DrawingCircle) -> (), } type DrawingLine = { Color: Color3, Thickness: number, Transparency: number, Visible: boolean, From: Vector2, To: Vector2, Remove: (self: DrawingLine) -> (), } type DrawingText = { Text: string, Color: Color3, Center: boolean, Outline: boolean, OutlineColor: Color3, Transparency: number, Visible: boolean, Position: Vector2, Size: number, Font: number, Remove: (self: DrawingText) -> (), } type DrawingSquare = { Color: Color3, Thickness: number, Filled: boolean, Transparency: number, Visible: boolean, Size: Vector2, Position: Vector2, Remove: (self: DrawingSquare) -> (), } type ESPObject = { Box: DrawingSquare, HPBarBackground: DrawingSquare, HPBarForeground: DrawingSquare, NameText: DrawingText, DistanceText: DrawingText, Line: DrawingLine, } type UtilsType = { IsAlive: (Player: Player) -> boolean, IsEnemy: (Player: Player) -> boolean, IsVisible: (Character: Model, Part: BasePart) -> boolean, GetTarget: () -> Model?, } local math_random: (number, number) -> number = math.random local math_huge: number = math.huge local math_floor: (number) -> number = math.floor local math_abs: (number) -> number = math.abs local math_clamp: (number, number, number) -> number = math.clamp local math_max: (number, number) -> number = math.max local Vector2_new: (number, number) -> Vector2 = Vector2.new local Vector3_new: (number, number, number) -> Vector3 = Vector3.new local table_insert: (t: {T}, value: T) -> () = table.insert local ipairs_fn = ipairs local ReplicatedStorage: Instance = cloneref(game:GetService("ReplicatedStorage")) local Players: Players = cloneref(game:GetService("Players")) local Workspace: Workspace = cloneref(game:GetService("Workspace")) local RunService: RunService = cloneref(game:GetService("RunService")) local TweenService: TweenService = cloneref(game:GetService("TweenService")) local Debris: Debris = cloneref(game:GetService("Debris")) local UserInputService: UserInputService = cloneref(game:GetService("UserInputService")) local LocalPlayer: Player = Players.LocalPlayer local Config: ConfigType = { Enabled = false, FOV = 300, ShowFOV = false, HitChance = 100, TargetPart = "Head", WallCheck = false, TeamCheck = false, FOVColor = Color3.fromRGB(0, 180, 255), ESPEnabled = false, SnaplinesEnabled = false, ESPVisibleColor = Color3.fromRGB(0, 255, 128), ESPHiddenColor = Color3.fromRGB(255, 50, 50), BulletTrailEnabled = false, BulletTrailColor = Color3.fromRGB(255, 255, 255), } local Bullet: BulletClass = require(ReplicatedStorage:WaitForChild("Components"):WaitForChild("Weapon"):WaitForChild("Classes"):WaitForChild("Bullet")) :: any local GetRayIgnore: () -> {Instance} = require(ReplicatedStorage:WaitForChild("Components"):WaitForChild("Common"):WaitForChild("GetRayIgnore")) :: any local Raycast: RaycastModule = require(ReplicatedStorage:WaitForChild("Shared"):WaitForChild("Raycast")) :: any local Utils: UtilsType = {} :: any function Utils.IsAlive(Player: Player): boolean local Character: Model? = Player.Character if not Character then return false end local Humanoid: Humanoid? = Character:FindFirstChildOfClass("Humanoid") if not Humanoid or Humanoid.Health <= 0 then return false end if Character:GetAttribute("Dead") == true then return false end return true end function Utils.IsEnemy(Player: Player): boolean if not Config.TeamCheck then return true end local LocalTeam: any = LocalPlayer:GetAttribute("Team") local PlayerTeam: any = Player:GetAttribute("Team") if not LocalTeam or not PlayerTeam then return true end if Workspace:GetAttribute("Gamemode") == "Deathmatch" then return true end return LocalTeam ~= PlayerTeam end function Utils.IsVisible(Character: Model, Part: BasePart): boolean if not Config.WallCheck then return true end local Camera: Camera? = Workspace.CurrentCamera if not Camera then return true end local Params: RaycastParams = RaycastParams.new() Params.FilterType = Enum.RaycastFilterType.Exclude Params.IgnoreWater = true local Filter: {Instance} = {LocalPlayer.Character :: Instance, Camera :: Instance} if GetRayIgnore then local IgnoreList: {Instance} = GetRayIgnore() for i: number = 1, #IgnoreList do table_insert(Filter, IgnoreList[i]) end end Params.FilterDescendantsInstances = Filter local Origin: Vector3 = Camera.CFrame.Position local Result: RaycastResult? = Workspace:Raycast(Origin, Part.Position - Origin, Params) return not Result or Result.Instance:IsDescendantOf(Character) end function Utils.GetTarget(): Model? local Camera: Camera? = Workspace.CurrentCamera if not Camera then return nil end local ViewportSize: Vector2 = Camera.ViewportSize local CenterX: number = ViewportSize.X * 0.5 local CenterY: number = ViewportSize.Y * 0.5 local BestTarget: Model? = nil local MinDistSq: number = Config.FOV * Config.FOV local PlayerList: {Player} = Players:GetPlayers() for i: number = 1, #PlayerList do local Player: Player = PlayerList[i] if Player ~= LocalPlayer and Utils.IsAlive(Player) and Utils.IsEnemy(Player) then local Character: Model? = Player.Character if not Character then continue end local TargetPartName: string = Config.TargetPart if TargetPartName == "Random" then TargetPartName = "Head" end local TargetPart: Instance? = Character:FindFirstChild(TargetPartName) or Character:FindFirstChild("Head") or Character.PrimaryPart if TargetPart and TargetPart:IsA("BasePart") then local ScreenPosition: Vector3, OnScreen: boolean = Camera:WorldToViewportPoint(TargetPart.Position) if OnScreen then local dX: number = ScreenPosition.X - CenterX local dY: number = ScreenPosition.Y - CenterY local distSq: number = dX * dX + dY * dY if distSq < MinDistSq then MinDistSq = distSq BestTarget = Character end end end end end return BestTarget end local clean: any = setmetatable({}, { __index = function(_: any, k: string): any if k == "getgenv" or k == "hookfunction" or k == "Drawing" then return nil end return (getfenv(0) :: any)[k] end }) setfenv(Utils.IsAlive, clean) setfenv(Utils.IsEnemy, clean) setfenv(Utils.IsVisible, clean) setfenv(Utils.GetTarget, clean) local Cast = Raycast.cast local CastThrough = Raycast.castThrough local OldPerformRaycast: (self: BulletClass, spread: number) -> RaycastResultCustom = Bullet._performRaycast local NewPerformRaycast = function(self: BulletClass, Spread: number): RaycastResultCustom local Result: RaycastResultCustom if not Config.Enabled then Result = OldPerformRaycast(self, Spread) else local Target: Model? = Utils.GetTarget() if Target and math_random(1, 100) <= Config.HitChance then local TargetPartName: string = Config.TargetPart if TargetPartName == "Random" then local Parts: {string} = {"Head", "HumanoidRootPart", "UpperTorso", "LowerTorso"} local ValidParts: {string} = {} for i: number = 1, #Parts do if Target:FindFirstChild(Parts[i]) then table_insert(ValidParts, Parts[i]) end end TargetPartName = #ValidParts > 0 and ValidParts[math_random(1, #ValidParts)] or "Head" end local TargetPart: Instance? = Target:FindFirstChild(TargetPartName) or Target:FindFirstChild("Head") or Target.PrimaryPart if TargetPart and TargetPart:IsA("BasePart") then local Camera: Camera? = Workspace.CurrentCamera if Camera then local Origin: Vector3 = Camera.CFrame.Position local Direction: Vector3 = (TargetPart.Position - Origin) local Distance: number = Direction.Magnitude local HitsList: {HitData} = {} table_insert(HitsList, { Position = TargetPart.Position, Instance = TargetPart, Material = "Plastic", Normal = Vector3.zero, Exit = false }) Result = {Distance = Distance, Origin = Origin, Direction = Direction.Unit, Hits = HitsList} else Result = OldPerformRaycast(self, Spread) end else Result = OldPerformRaycast(self, Spread) end else Result = OldPerformRaycast(self, Spread) end end if Config.BulletTrailEnabled and Result and Result.Distance > 0 then local midPoint = Result.Origin + Result.Direction * (Result.Distance / 2) local trailPart = Instance.new("Part") trailPart.Anchored = true trailPart.CanCollide = false trailPart.CastShadow = false trailPart.Material = Enum.Material.Neon trailPart.Color = Config.BulletTrailColor trailPart.Size = Vector3_new(0.1, 0.1, Result.Distance) trailPart.CFrame = CFrame.lookAt(midPoint, midPoint + Result.Direction) trailPart.Parent = Workspace local tween = TweenService:Create(trailPart, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Transparency = 1, Size = Vector3_new(0, 0, Result.Distance) }) tween:Play() Debris:AddItem(trailPart, 0.6) end return Result end setfenv(NewPerformRaycast, clean) setreadonly(Bullet, false) Bullet._performRaycast = NewPerformRaycast setreadonly(Bullet, true) local FOVCircle: DrawingCircle = (Drawing :: any).new("Circle") FOVCircle.Color = Config.FOVColor FOVCircle.Thickness = 1.5 FOVCircle.NumSides = 64 FOVCircle.Filled = false FOVCircle.Transparency = 0.8 FOVCircle.Visible = false local Watermark: DrawingText = (Drawing :: any).new("Text") Watermark.Text = "xeeuy >.<" Watermark.Color = Color3.fromRGB(255, 255, 255) Watermark.Center = false Watermark.Outline = true Watermark.OutlineColor = Color3.fromRGB(0, 0, 0) Watermark.Transparency = 1 Watermark.Visible = true Watermark.Position = Vector2_new(15, 15) Watermark.Size = 18 Watermark.Font = 2 local ESPObjects: {[Player]: ESPObject} = {} local function CreateESP(Player: Player) if ESPObjects[Player] then return end local Box: DrawingSquare = (Drawing :: any).new("Square") Box.Color = Color3.fromRGB(255, 255, 255) Box.Thickness = 1 Box.Filled = false Box.Transparency = 1 Box.Visible = false local HPBarBackground: DrawingSquare = (Drawing :: any).new("Square") HPBarBackground.Color = Color3.fromRGB(0, 0, 0) HPBarBackground.Thickness = 1 HPBarBackground.Filled = true HPBarBackground.Transparency = 1 HPBarBackground.Visible = false local HPBarForeground: DrawingSquare = (Drawing :: any).new("Square") HPBarForeground.Color = Color3.fromRGB(0, 255, 0) HPBarForeground.Thickness = 1 HPBarForeground.Filled = true HPBarForeground.Transparency = 1 HPBarForeground.Visible = false local NameText: DrawingText = (Drawing :: any).new("Text") NameText.Color = Color3.fromRGB(255, 255, 255) NameText.Center = true NameText.Outline = true NameText.OutlineColor = Color3.fromRGB(0, 0, 0) NameText.Transparency = 1 NameText.Visible = false NameText.Size = 14 NameText.Font = 2 local DistanceText: DrawingText = (Drawing :: any).new("Text") DistanceText.Color = Color3.fromRGB(200, 200, 200) DistanceText.Center = true DistanceText.Outline = true DistanceText.OutlineColor = Color3.fromRGB(0, 0, 0) DistanceText.Transparency = 1 DistanceText.Visible = false DistanceText.Size = 12 DistanceText.Font = 2 local Line: DrawingLine = (Drawing :: any).new("Line") Line.Color = Color3.fromRGB(255, 255, 255) Line.Thickness = 1.5 Line.Transparency = 1 Line.Visible = false ESPObjects[Player] = { Box = Box, HPBarBackground = HPBarBackground, HPBarForeground = HPBarForeground, NameText = NameText, DistanceText = DistanceText, Line = Line } end local function RemoveESP(Player: Player) local esp: ESPObject? = ESPObjects[Player] if esp then esp.Box:Remove() esp.HPBarBackground:Remove() esp.HPBarForeground:Remove() esp.NameText:Remove() esp.DistanceText:Remove() esp.Line:Remove() ESPObjects[Player] = nil end end Players.PlayerAdded:Connect(CreateESP) Players.PlayerRemoving:Connect(RemoveESP) for _, Player in ipairs_fn(Players:GetPlayers()) do if Player ~= LocalPlayer then CreateESP(Player) end end RunService.RenderStepped:Connect(function(dt: number): () local Camera: Camera? = Workspace.CurrentCamera if not Camera then return end local ViewportSize: Vector2 = Camera.ViewportSize local CenterX: number = ViewportSize.X * 0.5 local CenterY: number = ViewportSize.Y * 0.5 local IsVisibleCircle: boolean = Config.Enabled and Config.ShowFOV FOVCircle.Visible = IsVisibleCircle FOVCircle.Color = Config.FOVColor if IsVisibleCircle then FOVCircle.Radius = Config.FOV FOVCircle.Position = Vector2_new(CenterX, CenterY) end local PlayerList: {Player} = Players:GetPlayers() for i: number = 1, #PlayerList do local Player: Player = PlayerList[i] local esp: ESPObject? = ESPObjects[Player] if not esp then continue end local ShouldDraw: boolean = Player ~= LocalPlayer and Utils.IsAlive(Player) and Utils.IsEnemy(Player) if not ShouldDraw then esp.Box.Visible = false esp.HPBarBackground.Visible = false esp.HPBarForeground.Visible = false esp.NameText.Visible = false esp.DistanceText.Visible = false esp.Line.Visible = false continue end local Character: Model? = Player.Character if not Character then continue end local Head: Instance? = Character:FindFirstChild("Head") local HRP: Instance? = Character:FindFirstChild("HumanoidRootPart") local Hum: Humanoid? = Character:FindFirstChildOfClass("Humanoid") if not (Head and Head:IsA("BasePart") and HRP and HRP:IsA("BasePart") and Hum) then continue end local HeadPart: BasePart = Head :: any local RootPart: BasePart = HRP :: any local HeadPos: Vector3, OnScreen: boolean = Camera:WorldToViewportPoint(HeadPart.Position) if not OnScreen then esp.Box.Visible = false esp.HPBarBackground.Visible = false esp.HPBarForeground.Visible = false esp.NameText.Visible = false esp.DistanceText.Visible = false esp.Line.Visible = false continue end local IsVis: boolean = Utils.IsVisible(Character, HeadPart) local CurrentColor: Color3 = IsVis and Config.ESPVisibleColor or Config.ESPHiddenColor local LegPos: Vector3 = Camera:WorldToViewportPoint(RootPart.Position - Vector3_new(0, 3, 0)) local Height: number = math_abs(HeadPos.Y - LegPos.Y) local Width: number = Height / 2.2 local BoxX: number = HeadPos.X - Width / 2 local BoxY: number = HeadPos.Y if Config.ESPEnabled then esp.Box.Size = Vector2_new(Width, Height) esp.Box.Position = Vector2_new(BoxX, BoxY) esp.Box.Color = CurrentColor esp.Box.Visible = true local HealthRatio: number = math_clamp(Hum.Health / math_max(Hum.MaxHealth, 0.1), 0, 1) local BarHeight: number = Height * HealthRatio local BarX: number = BoxX - 5 local BarY: number = BoxY + (Height - BarHeight) esp.HPBarBackground.Size = Vector2_new(2, Height) esp.HPBarBackground.Position = Vector2_new(BarX, BoxY) esp.HPBarBackground.Visible = true local HPColor: Color3 = Color3.fromRGB(255 * (1 - HealthRatio), 255 * HealthRatio, 0) esp.HPBarForeground.Size = Vector2_new(2, BarHeight) esp.HPBarForeground.Position = Vector2_new(BarX, BarY) esp.HPBarForeground.Color = HPColor esp.HPBarForeground.Visible = true esp.NameText.Text = Player.DisplayName esp.NameText.Color = CurrentColor esp.NameText.Position = Vector2_new(HeadPos.X, BoxY - 16) esp.NameText.Visible = true local Distance: number = math_floor((Camera.CFrame.Position - RootPart.Position).Magnitude) esp.DistanceText.Text = string.format("[%d studs]", Distance) esp.DistanceText.Position = Vector2_new(HeadPos.X, BoxY - 32) esp.DistanceText.Visible = true else esp.Box.Visible = false esp.HPBarBackground.Visible = false esp.HPBarForeground.Visible = false esp.NameText.Visible = false esp.DistanceText.Visible = false end if Config.SnaplinesEnabled then esp.Line.From = Vector2_new(CenterX, 0) esp.Line.To = Vector2_new(HeadPos.X, HeadPos.Y) esp.Line.Color = CurrentColor esp.Line.Transparency = 0.5 esp.Line.Visible = true else esp.Line.Visible = false end end end) local Colors = { SidebarBG = Color3.fromRGB(20, 20, 20), MainBG = Color3.fromRGB(28, 28, 28), PanelBG = Color3.fromRGB(35, 35, 35), Accent = Color3.fromRGB(0, 180, 255), TextPrimary = Color3.fromRGB(240, 240, 240), TextSecondary = Color3.fromRGB(160, 160, 160), CheckboxOff = Color3.fromRGB(50, 50, 50), InputBG = Color3.fromRGB(40, 40, 40), LineDark = Color3.fromRGB(50, 50, 50), Hover = Color3.fromRGB(45, 45, 45) } local targetParent = LocalPlayer:WaitForChild("PlayerGui") if targetParent:FindFirstChild("BloxStrikeUI") then targetParent.BloxStrikeUI:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "BloxStrikeUI" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = targetParent local function CreateCorner(parent, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius) corner.Parent = parent return corner end local function MakeDraggable(topbar, object) local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart object.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end topbar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = object.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) topbar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) end local MainContainer = Instance.new("Frame") MainContainer.Size = UDim2.new(0, 700, 0, 500) MainContainer.Position = UDim2.new(0.5, 0, 0.5, 0) MainContainer.AnchorPoint = Vector2.new(0.5, 0.5) MainContainer.BackgroundColor3 = Colors.MainBG MainContainer.BorderSizePixel = 0 MainContainer.Parent = ScreenGui CreateCorner(MainContainer, 8) local MainStroke = Instance.new("UIStroke") MainStroke.Color = Colors.LineDark MainStroke.Thickness = 1 MainStroke.Parent = MainContainer local SidebarClip = Instance.new("Frame") SidebarClip.Size = UDim2.new(0, 160, 1, 0) SidebarClip.BackgroundTransparency = 1 SidebarClip.ClipsDescendants = true SidebarClip.ZIndex = 2 SidebarClip.Parent = MainContainer CreateCorner(SidebarClip, 8) local Sidebar = Instance.new("Frame") Sidebar.Size = UDim2.new(1, 10, 1, 0) Sidebar.BackgroundColor3 = Colors.SidebarBG Sidebar.BorderSizePixel = 0 Sidebar.ZIndex = 2 Sidebar.Parent = SidebarClip local SidebarPad = Instance.new("UIPadding") SidebarPad.PaddingTop = UDim.new(0, 100) SidebarPad.PaddingLeft = UDim.new(0, 15) SidebarPad.PaddingRight = UDim.new(0, 15) SidebarPad.Parent = Sidebar local SidebarLayout = Instance.new("UIListLayout") SidebarLayout.SortOrder = Enum.SortOrder.LayoutOrder SidebarLayout.Padding = UDim.new(0, 8) SidebarLayout.Parent = Sidebar local Topbar = Instance.new("Frame") Topbar.Size = UDim2.new(1, 0, 0, 100) Topbar.Position = UDim2.new(0, 0, 0, 0) Topbar.BackgroundTransparency = 1 Topbar.ZIndex = 5 Topbar.Parent = MainContainer MakeDraggable(Topbar, MainContainer) local TitleLabel = Instance.new("TextLabel") TitleLabel.Size = UDim2.new(0, 160, 0, 25) TitleLabel.Position = UDim2.new(0, 20, 0, 25) TitleLabel.BackgroundTransparency = 1 TitleLabel.Font = Enum.Font.GothamBlack TitleLabel.TextSize = 18 TitleLabel.TextColor3 = Colors.TextPrimary TitleLabel.TextXAlignment = Enum.TextXAlignment.Left TitleLabel.TextYAlignment = Enum.TextYAlignment.Center TitleLabel.Text = "xeeuy >.<" TitleLabel.ZIndex = 6 TitleLabel.Parent = Topbar local SubtitleLabel = Instance.new("TextLabel") SubtitleLabel.Size = UDim2.new(0, 160, 0, 15) SubtitleLabel.Position = UDim2.new(0, 20, 0, 55) SubtitleLabel.BackgroundTransparency = 1 SubtitleLabel.Font = Enum.Font.Gotham SubtitleLabel.TextSize = 11 SubtitleLabel.TextColor3 = Colors.TextSecondary SubtitleLabel.TextXAlignment = Enum.TextXAlignment.Left SubtitleLabel.TextYAlignment = Enum.TextYAlignment.Center SubtitleLabel.Text = "xeeuy >.<" SubtitleLabel.ZIndex = 6 SubtitleLabel.Parent = Topbar local GameNameLabel = Instance.new("TextLabel") GameNameLabel.Size = UDim2.new(1, -160, 0, 30) GameNameLabel.Position = UDim2.new(0, 160, 0, 25) GameNameLabel.BackgroundTransparency = 1 GameNameLabel.Font = Enum.Font.GothamBold GameNameLabel.TextSize = 22 GameNameLabel.TextColor3 = Colors.Accent GameNameLabel.TextXAlignment = Enum.TextXAlignment.Center GameNameLabel.TextYAlignment = Enum.TextYAlignment.Center GameNameLabel.Text = "BloxStrike" GameNameLabel.ZIndex = 6 GameNameLabel.Parent = Topbar local Breadcrumb = Instance.new("TextLabel") Breadcrumb.Size = UDim2.new(1, -160, 0, 16) Breadcrumb.Position = UDim2.new(0, 160, 0, 60) Breadcrumb.BackgroundTransparency = 1 Breadcrumb.Font = Enum.Font.GothamMedium Breadcrumb.TextSize = 11 Breadcrumb.TextColor3 = Colors.TextSecondary Breadcrumb.TextXAlignment = Enum.TextXAlignment.Center Breadcrumb.TextYAlignment = Enum.TextYAlignment.Center Breadcrumb.Text = "Menu > Aimbot" Breadcrumb.RichText = true Breadcrumb.ZIndex = 6 Breadcrumb.Parent = Topbar local TopbarLine = Instance.new("Frame") TopbarLine.Size = UDim2.new(1, 0, 0, 1) TopbarLine.Position = UDim2.new(0, 0, 1, 0) TopbarLine.BackgroundColor3 = Colors.LineDark TopbarLine.BorderSizePixel = 0 TopbarLine.ZIndex = 6 TopbarLine.Parent = Topbar local ContentArea = Instance.new("Frame") ContentArea.Size = UDim2.new(1, -160, 1, -100) ContentArea.Position = UDim2.new(0, 160, 0, 100) ContentArea.BackgroundTransparency = 1 ContentArea.ZIndex = 2 ContentArea.Parent = MainContainer local TabButtons = {} local TabContents = {} local currentTabName = nil local function SwitchTab(tabName) if currentTabName == tabName then return end currentTabName = tabName for name, content in pairs(TabContents) do content.Visible = (name == tabName) end for name, btn in pairs(TabButtons) do local bar = btn:FindFirstChild("ActiveBar") if name == tabName then btn.TextColor3 = Colors.TextPrimary btn.BackgroundTransparency = 0.4 if bar then bar.BackgroundTransparency = 0 end else btn.TextColor3 = Colors.TextSecondary btn.BackgroundTransparency = 1 if bar then bar.BackgroundTransparency = 1 end end end Breadcrumb.Text = "Menu > " .. tabName .. "" end local function RegisterTab(tabName, layoutIndex) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 36) btn.BackgroundColor3 = Colors.Hover btn.BackgroundTransparency = 1 btn.AutoButtonColor = false btn.Font = Enum.Font.GothamMedium btn.TextSize = 13 btn.TextColor3 = Colors.TextSecondary btn.TextXAlignment = Enum.TextXAlignment.Left btn.Text = " " .. tabName btn.ZIndex = 3 btn.Parent = Sidebar CreateCorner(btn, 4) local activeBar = Instance.new("Frame") activeBar.Name = "ActiveBar" activeBar.Size = UDim2.new(0, 3, 0, 16) activeBar.Position = UDim2.new(0, 4, 0.5, -8) activeBar.BackgroundColor3 = Colors.Accent activeBar.BackgroundTransparency = 1 activeBar.BorderSizePixel = 0 activeBar.ZIndex = 4 activeBar.Parent = btn CreateCorner(activeBar, 2) btn.MouseEnter:Connect(function() if currentTabName ~= tabName then btn.BackgroundTransparency = 0.6 end end) btn.MouseLeave:Connect(function() if currentTabName ~= tabName then btn.BackgroundTransparency = 1 end end) btn.MouseButton1Click:Connect(function() SwitchTab(tabName) end) TabButtons[tabName] = btn local contentFrame = Instance.new("Frame") contentFrame.Size = UDim2.new(1, 0, 1, 0) contentFrame.BackgroundTransparency = 1 contentFrame.Visible = false contentFrame.ZIndex = 2 contentFrame.Parent = ContentArea local LeftPanel = Instance.new("Frame") LeftPanel.Size = UDim2.new(0.5, -15, 1, -20) LeftPanel.Position = UDim2.new(0, 10, 0, 10) LeftPanel.BackgroundColor3 = Colors.PanelBG LeftPanel.BorderSizePixel = 0 LeftPanel.ZIndex = 3 LeftPanel.Parent = contentFrame CreateCorner(LeftPanel, 6) local LeftStroke = Instance.new("UIStroke") LeftStroke.Color = Colors.LineDark LeftStroke.Thickness = 1 LeftStroke.Parent = LeftPanel local LeftTitle = Instance.new("TextLabel") LeftTitle.Size = UDim2.new(1, 0, 0, 30) LeftTitle.Position = UDim2.new(0, 15, 0, 0) LeftTitle.BackgroundTransparency = 1 LeftTitle.Font = Enum.Font.GothamMedium LeftTitle.TextSize = 13 LeftTitle.TextColor3 = Colors.TextPrimary LeftTitle.TextXAlignment = Enum.TextXAlignment.Left LeftTitle.TextYAlignment = Enum.TextYAlignment.Center LeftTitle.Text = "Conditions" LeftTitle.ZIndex = 4 LeftTitle.Parent = LeftPanel local LeftScroll = Instance.new("ScrollingFrame") LeftScroll.Size = UDim2.new(1, 0, 1, -35) LeftScroll.Position = UDim2.new(0, 0, 0, 35) LeftScroll.BackgroundTransparency = 1 LeftScroll.ScrollBarThickness = 0 LeftScroll.ZIndex = 4 LeftScroll.Parent = LeftPanel local LeftPad = Instance.new("UIPadding") LeftPad.PaddingLeft = UDim.new(0, 10) LeftPad.PaddingRight = UDim.new(0, 10) LeftPad.PaddingBottom = UDim.new(0, 10) LeftPad.Parent = LeftScroll local LeftLayout = Instance.new("UIListLayout") LeftLayout.SortOrder = Enum.SortOrder.LayoutOrder LeftLayout.Padding = UDim.new(0, 8) LeftLayout.Parent = LeftScroll LeftLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() LeftScroll.CanvasSize = UDim2.new(0, 0, 0, LeftLayout.AbsoluteContentSize.Y + 20) end) local RightPanel = Instance.new("Frame") RightPanel.Size = UDim2.new(0.5, -15, 1, -20) RightPanel.Position = UDim2.new(0.5, 5, 0, 10) RightPanel.BackgroundColor3 = Colors.PanelBG RightPanel.BorderSizePixel = 0 RightPanel.ZIndex = 3 RightPanel.Parent = contentFrame CreateCorner(RightPanel, 6) local RightStroke = Instance.new("UIStroke") RightStroke.Color = Colors.LineDark RightStroke.Thickness = 1 RightStroke.Parent = RightPanel local RightTitle = Instance.new("TextLabel") RightTitle.Size = UDim2.new(1, 0, 0, 30) RightTitle.Position = UDim2.new(0, 15, 0, 0) RightTitle.BackgroundTransparency = 1 RightTitle.Font = Enum.Font.GothamMedium RightTitle.TextSize = 13 RightTitle.TextColor3 = Colors.TextPrimary RightTitle.TextXAlignment = Enum.TextXAlignment.Left RightTitle.TextYAlignment = Enum.TextYAlignment.Center RightTitle.Text = "Customization" RightTitle.ZIndex = 4 RightTitle.Parent = RightPanel local RightScroll = Instance.new("ScrollingFrame") RightScroll.Size = UDim2.new(1, 0, 1, -35) RightScroll.Position = UDim2.new(0, 0, 0, 35) RightScroll.BackgroundTransparency = 1 RightScroll.ScrollBarThickness = 2 RightScroll.ScrollBarImageColor3 = Colors.LineDark RightScroll.ZIndex = 4 RightScroll.Parent = RightPanel local RightPad = Instance.new("UIPadding") RightPad.PaddingLeft = UDim.new(0, 10) RightPad.PaddingRight = UDim.new(0, 10) RightPad.PaddingBottom = UDim.new(0, 10) RightPad.Parent = RightScroll local RightLayout = Instance.new("UIListLayout") RightLayout.SortOrder = Enum.SortOrder.LayoutOrder RightLayout.Padding = UDim.new(0, 12) RightLayout.Parent = RightScroll RightLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() RightScroll.CanvasSize = UDim2.new(0, 0, 0, RightLayout.AbsoluteContentSize.Y + 20) end) TabContents[tabName] = contentFrame return LeftScroll, RightScroll end local function CreateToggleSwitch(parent, label, stateKey, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 30) frame.BackgroundTransparency = 1 frame.ZIndex = 5 frame.Parent = parent local txt = Instance.new("TextLabel") txt.Size = UDim2.new(1, -50, 1, 0) txt.Position = UDim2.new(0, 5, 0, 0) txt.BackgroundTransparency = 1 txt.Font = Enum.Font.Gotham txt.TextSize = 13 txt.TextColor3 = Colors.TextPrimary txt.TextXAlignment = Enum.TextXAlignment.Left txt.TextYAlignment = Enum.TextYAlignment.Center txt.Text = label txt.ZIndex = 5 txt.Parent = frame local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 40, 0, 20) btn.Position = UDim2.new(1, -45, 0.5, -10) btn.AutoButtonColor = false btn.Text = "" btn.ZIndex = 5 btn.Parent = frame CreateCorner(btn, 10) local knob = Instance.new("Frame") knob.Size = UDim2.new(0, 16, 0, 16) knob.Position = UDim2.new(0, 2, 0.5, -8) knob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) knob.ZIndex = 6 knob.Parent = btn CreateCorner(knob, 8) local function Update() if Config[stateKey] then btn.BackgroundColor3 = Colors.Accent knob.Position = UDim2.new(0, 22, 0.5, -8) else btn.BackgroundColor3 = Colors.CheckboxOff knob.Position = UDim2.new(0, 2, 0.5, -8) end end btn.MouseButton1Click:Connect(function() Config[stateKey] = not Config[stateKey] Update() if callback then callback(Config[stateKey]) end end) Update() end local function CreateSlider(parent, label, min, max, stateKey, isDecimal) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 45) frame.BackgroundTransparency = 1 frame.ZIndex = 5 frame.Parent = parent local txt = Instance.new("TextLabel") txt.Size = UDim2.new(1, -50, 0, 20) txt.Position = UDim2.new(0, 5, 0, 5) txt.BackgroundTransparency = 1 txt.Font = Enum.Font.Gotham txt.TextSize = 13 txt.TextColor3 = Colors.TextPrimary txt.TextXAlignment = Enum.TextXAlignment.Left txt.TextYAlignment = Enum.TextYAlignment.Center txt.Text = label txt.ZIndex = 5 txt.Parent = frame local valTxt = Instance.new("TextLabel") valTxt.Size = UDim2.new(0, 45, 0, 20) valTxt.Position = UDim2.new(1, -50, 0, 5) valTxt.BackgroundTransparency = 1 valTxt.Font = Enum.Font.Gotham valTxt.TextSize = 13 valTxt.TextColor3 = Colors.TextPrimary valTxt.TextXAlignment = Enum.TextXAlignment.Right valTxt.TextYAlignment = Enum.TextYAlignment.Center valTxt.ZIndex = 5 valTxt.Parent = frame local lineBg = Instance.new("TextButton") lineBg.Size = UDim2.new(1, 0, 0, 3) lineBg.Position = UDim2.new(0, 0, 1, -10) lineBg.BackgroundColor3 = Colors.LineDark lineBg.BorderSizePixel = 0 lineBg.Text = "" lineBg.AutoButtonColor = false lineBg.ZIndex = 5 lineBg.Parent = frame CreateCorner(lineBg, 2) local fill = Instance.new("Frame") fill.Size = UDim2.new(0, 0, 1, 0) fill.BackgroundColor3 = Colors.Accent fill.BorderSizePixel = 0 fill.ZIndex = 6 fill.Parent = lineBg CreateCorner(fill, 2) local function UpdateVisuals(val) valTxt.Text = isDecimal and string.format("%.2f", val) or tostring(val) local percent = math.clamp((val - min) / (max - min), 0, 1) fill.Size = UDim2.new(percent, 0, 1, 0) end UpdateVisuals(Config[stateKey]) local dragging = false local function move(input) local pos = math.clamp((input.Position.X - lineBg.AbsolutePosition.X) / lineBg.AbsoluteSize.X, 0, 1) local rawValue = min + (pos * (max - min)) local finalValue = isDecimal and math.floor(rawValue * 100)/100 or math.floor(rawValue) Config[stateKey] = finalValue UpdateVisuals(finalValue) end lineBg.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true move(input) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then move(input) end end) end local function CreateDropdown(parent, label, options, stateKey) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 48) frame.BackgroundTransparency = 1 frame.ClipsDescendants = true frame.ZIndex = 5 frame.Parent = parent local txt = Instance.new("TextLabel") txt.Size = UDim2.new(1, 0, 0, 16) txt.Position = UDim2.new(0, 5, 0, 0) txt.BackgroundTransparency = 1 txt.Font = Enum.Font.Gotham txt.TextSize = 12 txt.TextColor3 = Colors.TextSecondary txt.TextXAlignment = Enum.TextXAlignment.Left txt.TextYAlignment = Enum.TextYAlignment.Center txt.Text = label txt.ZIndex = 5 txt.Parent = frame local topBtn = Instance.new("TextButton") topBtn.Size = UDim2.new(1, 0, 0, 26) topBtn.Position = UDim2.new(0, 0, 0, 20) topBtn.BackgroundColor3 = Colors.InputBG topBtn.Font = Enum.Font.Gotham topBtn.TextSize = 13 topBtn.TextColor3 = Colors.TextPrimary topBtn.TextXAlignment = Enum.TextXAlignment.Left topBtn.TextYAlignment = Enum.TextYAlignment.Center topBtn.Text = " " .. tostring(Config[stateKey]) topBtn.AutoButtonColor = false topBtn.ZIndex = 6 topBtn.Parent = frame CreateCorner(topBtn, 4) local ddStroke = Instance.new("UIStroke") ddStroke.Color = Colors.LineDark ddStroke.Thickness = 1 ddStroke.Parent = topBtn local arrow = Instance.new("TextLabel") arrow.Size = UDim2.new(0, 20, 1, 0) arrow.Position = UDim2.new(1, -20, 0, 0) arrow.BackgroundTransparency = 1 arrow.Font = Enum.Font.GothamBold arrow.TextSize = 12 arrow.TextColor3 = Colors.TextSecondary arrow.TextXAlignment = Enum.TextXAlignment.Center arrow.TextYAlignment = Enum.TextYAlignment.Center arrow.Text = "v" arrow.ZIndex = 7 arrow.Parent = topBtn local listContainer = Instance.new("ScrollingFrame") listContainer.Size = UDim2.new(1, 0, 1, -48) listContainer.Position = UDim2.new(0, 0, 0, 48) listContainer.BackgroundColor3 = Colors.InputBG listContainer.BorderSizePixel = 0 listContainer.ScrollBarThickness = 4 listContainer.ScrollBarImageColor3 = Colors.LineDark listContainer.ZIndex = 8 listContainer.Parent = frame CreateCorner(listContainer, 4) local listPad = Instance.new("UIPadding") listPad.PaddingTop = UDim.new(0, 5) listPad.Parent = listContainer local layout = Instance.new("UIListLayout") layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0, 4) layout.Parent = listContainer local function UpdateCanvas() listContainer.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 10) end layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(UpdateCanvas) local isOpen = false topBtn.MouseButton1Click:Connect(function() isOpen = not isOpen frame.Size = isOpen and UDim2.new(1, 0, 0, 140) or UDim2.new(1, 0, 0, 48) arrow.Text = isOpen and "^" or "v" end) for _, opt in ipairs(options) do local optBtn = Instance.new("TextButton") optBtn.Size = UDim2.new(1, 0, 0, 24) optBtn.BackgroundColor3 = Colors.InputBG optBtn.BackgroundTransparency = 1 optBtn.Font = Enum.Font.Gotham optBtn.TextSize = 13 optBtn.TextColor3 = Colors.TextPrimary optBtn.TextXAlignment = Enum.TextXAlignment.Left optBtn.TextYAlignment = Enum.TextYAlignment.Center optBtn.Text = " " .. opt optBtn.AutoButtonColor = false optBtn.ZIndex = 9 optBtn.Parent = listContainer optBtn.MouseButton1Click:Connect(function() Config[stateKey] = opt topBtn.Text = " " .. opt isOpen = false frame.Size = UDim2.new(1, 0, 0, 48) arrow.Text = "v" end) end end local function CreateColorpicker(parent, label, stateKey) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 48) frame.BackgroundTransparency = 1 frame.ClipsDescendants = true frame.ZIndex = 5 frame.Parent = parent local txt = Instance.new("TextLabel") txt.Size = UDim2.new(1, 0, 0, 16) txt.Position = UDim2.new(0, 5, 0, 0) txt.BackgroundTransparency = 1 txt.Font = Enum.Font.Gotham txt.TextSize = 12 txt.TextColor3 = Colors.TextSecondary txt.TextXAlignment = Enum.TextXAlignment.Left txt.TextYAlignment = Enum.TextYAlignment.Center txt.Text = label txt.ZIndex = 5 txt.Parent = frame local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 26) btn.Position = UDim2.new(0, 0, 0, 20) btn.BackgroundColor3 = Config[stateKey] btn.Text = "" btn.AutoButtonColor = false btn.ZIndex = 6 btn.Parent = frame CreateCorner(btn, 4) local cpStroke = Instance.new("UIStroke") cpStroke.Color = Colors.LineDark cpStroke.Thickness = 1 cpStroke.Parent = btn local palette = Instance.new("Frame") palette.Size = UDim2.new(1, 0, 1, -48) palette.Position = UDim2.new(0, 0, 0, 48) palette.BackgroundColor3 = Colors.InputBG palette.BorderSizePixel = 0 palette.ZIndex = 8 palette.Parent = frame CreateCorner(palette, 4) local palLayout = Instance.new("UIGridLayout") palLayout.CellSize = UDim2.new(0, 25, 0, 25) palLayout.CellPadding = UDim2.new(0, 5, 0, 5) palLayout.SortOrder = Enum.SortOrder.LayoutOrder palLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center palLayout.VerticalAlignment = Enum.VerticalAlignment.Center palLayout.Parent = palette local colors = { Color3.fromRGB(255, 255, 255), Color3.fromRGB(0, 0, 0), Color3.fromRGB(255, 0, 0), Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 180, 255), Color3.fromRGB(255, 255, 0), Color3.fromRGB(0, 255, 255), Color3.fromRGB(255, 0, 255), Color3.fromRGB(255, 128, 0), Color3.fromRGB(128, 0, 128), Color3.fromRGB(0, 128, 0), Color3.fromRGB(128, 128, 128), Color3.fromRGB(0, 0, 128), Color3.fromRGB(255, 50, 50), Color3.fromRGB(0, 255, 128), Color3.fromRGB(180, 0, 255) } for _, c in ipairs(colors) do local cBtn = Instance.new("TextButton") cBtn.BackgroundColor3 = c cBtn.Text = "" cBtn.AutoButtonColor = false cBtn.ZIndex = 9 cBtn.Parent = palette CreateCorner(cBtn, 4) cBtn.MouseButton1Click:Connect(function() Config[stateKey] = c btn.BackgroundColor3 = c palette.Visible = false frame.Size = UDim2.new(1, 0, 0, 48) end) end palette.Visible = false btn.MouseButton1Click:Connect(function() palette.Visible = not palette.Visible frame.Size = palette.Visible and UDim2.new(1, 0, 0, 120) or UDim2.new(1, 0, 0, 48) end) end local AimbotLeft, AimbotRight = RegisterTab("Aimbot", 1) local ESPLeft, ESPRight = RegisterTab("ESP", 2) local MiscLeft, MiscRight = RegisterTab("Misc", 3) CreateToggleSwitch(AimbotLeft, "Enabled", "Enabled") CreateToggleSwitch(AimbotLeft, "Show FOV Circle", "ShowFOV") CreateToggleSwitch(AimbotLeft, "Wall Check", "WallCheck") CreateToggleSwitch(AimbotLeft, "Team Check", "TeamCheck") CreateSlider(AimbotRight, "FOV Size", 50, 1000, "FOV", false) CreateSlider(AimbotRight, "Hit Chance", 1, 100, "HitChance", false) CreateDropdown(AimbotRight, "Target Part", {"Head", "HumanoidRootPart", "Random"}, "TargetPart") CreateColorpicker(AimbotRight, "FOV Color", "FOVColor") CreateToggleSwitch(ESPLeft, "ESP Enabled", "ESPEnabled") CreateToggleSwitch(ESPLeft, "Snaplines Enabled", "SnaplinesEnabled") CreateColorpicker(ESPRight, "ESP Visible Color", "ESPVisibleColor") CreateColorpicker(ESPRight, "ESP Hidden Color", "ESPHiddenColor") CreateToggleSwitch(MiscLeft, "Bullet Tracers", "BulletTrailEnabled") CreateColorpicker(MiscRight, "Bullet Tracer Color", "BulletTrailColor") SwitchTab("Aimbot") UserInputService.InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.Insert then MainContainer.Visible = not MainContainer.Visible end end) print("Chargé !") else Status.Text = "Wrong key !" Status.TextColor3 = Color3.fromRGB(255,0,0) end end)