-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- BOSS SCRIPTS v1.7 -- Complete combined LocalScript -- Place in StarterPlayer > StarterPlayerScripts -- Designed for your own Roblox experience local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local purple = Color3.fromRGB(137,83,245) local black = Color3.fromRGB(10,10,10) local panel = Color3.fromRGB(22,22,22) local white = Color3.fromRGB(245,245,245) local gray = Color3.fromRGB(155,155,155) local settings = { Aimbot = false, TargetMode = "Nearest", TargetPart = "Head", POVSize = 150, Smoothness = 8, TeamCheck = false, WallCheck = false, POVVisibility = 100, ESPEnabled = false, ShowNames = true, ShowDistance = true, ShowHealth = true, BoxESP = false, HighlightESP = false, ESPTeamCheck = false, ESPWallCheck = false, ESPColor = "White" } local espColors = { White = Color3.fromRGB(255,255,255), Red = Color3.fromRGB(255,65,65), Green = Color3.fromRGB(65,255,100), Yellow = Color3.fromRGB(255,230,65), Blue = Color3.fromRGB(65,150,255) } -- GUI local gui = Instance.new("ScreenGui") gui.Name = "BossScripts" gui.ResetOnSpawn = false gui.IgnoreGuiInset = true gui.DisplayOrder = 20 gui.Parent = player:WaitForChild("PlayerGui") local function corner(obj,radius) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,radius) c.Parent = obj end local function outline(obj) local s = Instance.new("UIStroke") s.Color = Color3.fromRGB(48,48,48) s.Parent = obj end local function label(parent,text,size,height) local l = Instance.new("TextLabel") l.Size = UDim2.new(1,0,0,height or 30) l.BackgroundTransparency = 1 l.Text = text l.TextColor3 = white l.TextSize = size or 18 l.Font = Enum.Font.Code l.TextXAlignment = Enum.TextXAlignment.Left l.Parent = parent return l end -- MAIN WINDOW local main = Instance.new("Frame") main.Name = "MainWindow" main.Size = UDim2.new(0.94,0,0.86,0) main.Position = UDim2.new(0.03,0,0.07,0) main.BackgroundColor3 = black main.BorderSizePixel = 0 main.Parent = gui corner(main,9) outline(main) local header = Instance.new("Frame") header.Size = UDim2.new(1,0,0,48) header.BackgroundColor3 = black header.Parent = main label(header," Boss Scripts",25,48) -- SEARCH local searchFrame = Instance.new("Frame") searchFrame.Position = UDim2.new(0,12,0,56) searchFrame.Size = UDim2.new(1,-24,0,40) searchFrame.BackgroundColor3 = panel searchFrame.Parent = main corner(searchFrame,6) local search = Instance.new("TextBox") search.Size = UDim2.new(1,-20,1,0) search.Position = UDim2.new(0,10,0,0) search.BackgroundTransparency = 1 search.PlaceholderText = "Search..." search.PlaceholderColor3 = gray search.Text = "" search.TextColor3 = white search.Font = Enum.Font.Code search.TextSize = 17 search.ClearTextOnFocus = false search.Parent = searchFrame -- TABS local tabFrame = Instance.new("Frame") tabFrame.Position = UDim2.new(0,12,0,105) tabFrame.Size = UDim2.new(1,-24,0,42) tabFrame.BackgroundTransparency = 1 tabFrame.Parent = main local tabLayout = Instance.new("UIListLayout") tabLayout.FillDirection = Enum.FillDirection.Horizontal tabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center tabLayout.Padding = UDim.new(0,7) tabLayout.Parent = tabFrame local tabs = {"Aimbot","ESP","Credits"} local tabButtons = {} -- CONTENT local content = Instance.new("ScrollingFrame") content.Position = UDim2.new(0,12,0,155) content.Size = UDim2.new(1,-24,1,-167) content.BackgroundTransparency = 1 content.BorderSizePixel = 0 content.ScrollBarThickness = 3 content.ScrollBarImageColor3 = purple content.AutomaticCanvasSize = Enum.AutomaticSize.Y content.CanvasSize = UDim2.new(0,0,0,0) content.Parent = main local grid = Instance.new("UIGridLayout") grid.CellSize = UDim2.new(0.49,-5,0,450) grid.CellPadding = UDim2.new(0,10,0,10) grid.Parent = content -- SECTIONS local function section(name) local box = Instance.new("Frame") box.Name = name box.BackgroundColor3 = panel box.BorderSizePixel = 0 box.Parent = content corner(box,8) outline(box) local list = Instance.new("UIListLayout") list.Padding = UDim.new(0,5) list.Parent = box local pad = Instance.new("UIPadding") pad.PaddingTop = UDim.new(0,9) pad.PaddingBottom = UDim.new(0,10) pad.PaddingLeft = UDim.new(0,10) pad.PaddingRight = UDim.new(0,10) pad.Parent = box label(box,name,21,37) local line = Instance.new("Frame") line.Size = UDim2.new(1,0,0,1) line.BackgroundColor3 = Color3.fromRGB(48,48,48) line.BorderSizePixel = 0 line.Parent = box return box end -- TOGGLES local function toggle(parent,name,default,callback) local row = Instance.new("Frame") row.Name = name row.Size = UDim2.new(1,0,0,39) row.BackgroundTransparency = 1 row.Parent = parent label(row,name,16,39) local button = Instance.new("TextButton") button.Size = UDim2.new(0,43,0,24) button.Position = UDim2.new(1,-43,0,7) button.Text = "" button.BackgroundColor3 = default and purple or Color3.fromRGB(45,45,45) button.Parent = row corner(button,15) local dot = Instance.new("Frame") dot.Size = UDim2.new(0,18,0,18) dot.Position = default and UDim2.new(1,-21,0,3) or UDim2.new(0,3,0,3) dot.BackgroundColor3 = white dot.Parent = button corner(dot,20) local enabled = default local function refresh() button.BackgroundColor3 = enabled and purple or Color3.fromRGB(45,45,45) dot.Position = enabled and UDim2.new(1,-21,0,3) or UDim2.new(0,3,0,3) end button.MouseButton1Click:Connect(function() enabled = not enabled refresh() if callback then callback(enabled) end end) return function(value) enabled = value refresh() end end -- DROPDOWNS local function dropdown(parent,name,options,default,callback) local row = Instance.new("Frame") row.Name = name row.Size = UDim2.new(1,0,0,0) row.AutomaticSize = Enum.AutomaticSize.Y row.BackgroundTransparency = 1 row.Parent = parent local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0,5) layout.Parent = row label(row,name,16,27) local selected = default or options[1] local expanded = false local button = Instance.new("TextButton") button.Size = UDim2.new(1,0,0,36) button.BackgroundColor3 = Color3.fromRGB(31,31,31) button.Text = selected.." ▼" button.TextColor3 = white button.Font = Enum.Font.Code button.TextSize = 16 button.LayoutOrder = 2 button.Parent = row corner(button,5) local optionList = Instance.new("Frame") optionList.Size = UDim2.new(1,0,0,0) optionList.AutomaticSize = Enum.AutomaticSize.Y optionList.BackgroundColor3 = Color3.fromRGB(19,19,19) optionList.Visible = false optionList.LayoutOrder = 3 optionList.Parent = row corner(optionList,5) local optionLayout = Instance.new("UIListLayout") optionLayout.Padding = UDim.new(0,3) optionLayout.Parent = optionList local padding = Instance.new("UIPadding") padding.PaddingTop = UDim.new(0,4) padding.PaddingBottom = UDim.new(0,4) padding.PaddingLeft = UDim.new(0,4) padding.PaddingRight = UDim.new(0,4) padding.Parent = optionList button.MouseButton1Click:Connect(function() expanded = not expanded optionList.Visible = expanded button.Text = selected..(expanded and " ▲" or " ▼") end) for _,option in ipairs(options) do local choice = Instance.new("TextButton") choice.Size = UDim2.new(1,0,0,32) choice.BackgroundColor3 = Color3.fromRGB(35,35,35) choice.Text = option choice.TextColor3 = white choice.Font = Enum.Font.Code choice.TextSize = 15 choice.Parent = optionList corner(choice,4) choice.MouseButton1Click:Connect(function() selected = option expanded = false optionList.Visible = false button.Text = selected.." ▼" if callback then callback(option) end end) end end -- SLIDERS local function slider(parent,name,min,max,default,callback) local row = Instance.new("Frame") row.Name = name row.Size = UDim2.new(1,0,0,65) row.BackgroundTransparency = 1 row.Parent = parent local heading = label(row,name.." "..default,16,26) local bar = Instance.new("Frame") bar.Position = UDim2.new(0,0,0,32) bar.Size = UDim2.new(1,0,0,25) bar.BackgroundColor3 = Color3.fromRGB(40,40,40) bar.Parent = row corner(bar,5) local fill = Instance.new("Frame") fill.Size = UDim2.new((default-min)/(max-min),0,1,0) fill.BackgroundColor3 = purple fill.Parent = bar corner(fill,5) local dragging = false local function update(input) local percent = math.clamp( (input.Position.X-bar.AbsolutePosition.X) /bar.AbsoluteSize.X,0,1 ) local current = math.floor(min+(max-min)*percent) fill.Size = UDim2.new(percent,0,1,0) heading.Text = name.." "..current if callback then callback(current) end end bar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true update(input) end end) UIS.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then update(input) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) end -- ESP SYSTEM local espObjects = {} local function getESPColor() return espColors[settings.ESPColor] or white end local function removeESP(targetPlayer) local data = espObjects[targetPlayer] if data then if data.Billboard then data.Billboard:Destroy() end if data.Highlight then data.Highlight:Destroy() end if data.Box then data.Box:Destroy() end espObjects[targetPlayer] = nil end end local function hasClearView(character,part) if not settings.ESPWallCheck then return true end if not camera or not character or not part then return false end local origin = camera.CFrame.Position local direction = part.Position-origin local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = { player.Character } local result = workspace:Raycast( origin, direction, params ) if not result then return true end return result.Instance:IsDescendantOf(character) end local function createESP(targetPlayer,character) removeESP(targetPlayer) local head = character:FindFirstChild("Head") local root = character:FindFirstChild("HumanoidRootPart") if not head or not root then return end local billboard = Instance.new("BillboardGui") billboard.Name = "BossESPInfo" billboard.Adornee = head billboard.Size = UDim2.fromOffset(150,48) billboard.StudsOffset = Vector3.new(0,2.4,0) billboard.AlwaysOnTop = not settings.ESPWallCheck billboard.MaxDistance = 1000 billboard.Enabled = false billboard.Parent = gui local infoFrame = Instance.new("Frame") infoFrame.Size = UDim2.fromScale(1,1) infoFrame.BackgroundColor3 = Color3.fromRGB(10,10,10) infoFrame.BackgroundTransparency = 0.45 infoFrame.Parent = billboard corner(infoFrame,4) local infoLayout = Instance.new("UIListLayout") infoLayout.Padding = UDim.new(0,0) infoLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center infoLayout.Parent = infoFrame local function makeInfoLabel(name) local textLabel = Instance.new("TextLabel") textLabel.Name = name textLabel.Size = UDim2.new(1,0,0,16) textLabel.BackgroundTransparency = 1 textLabel.TextColor3 = white textLabel.TextSize = 12 textLabel.TextTruncate = Enum.TextTruncate.AtEnd textLabel.Font = Enum.Font.Code textLabel.Text = "" textLabel.Parent = infoFrame return textLabel end local nameLabel = makeInfoLabel("PlayerName") local distanceLabel = makeInfoLabel("Distance") local healthLabel = makeInfoLabel("Health") local highlight = Instance.new("Highlight") highlight.Name = "BossESPHighlight" highlight.Adornee = character highlight.FillColor = getESPColor() highlight.OutlineColor = getESPColor() highlight.FillTransparency = 0.75 highlight.OutlineTransparency = 0 highlight.DepthMode = settings.ESPWallCheck and Enum.HighlightDepthMode.Occluded or Enum.HighlightDepthMode.AlwaysOnTop highlight.Enabled = false highlight.Parent = character local box = Instance.new("BoxHandleAdornment") box.Name = "BossESPBox" box.Adornee = root box.AlwaysOnTop = not settings.ESPWallCheck box.ZIndex = 5 box.Color3 = getESPColor() box.Transparency = 0.55 box.Visible = false box.Parent = root local extents = character:GetExtentsSize() box.Size = Vector3.new( math.clamp(extents.X*0.9,1.8,3.2), math.clamp(extents.Y*0.9,4.2,6.2), math.clamp(extents.Z*0.9,1.2,2.4) ) espObjects[targetPlayer] = { Character = character, Billboard = billboard, NameLabel = nameLabel, DistanceLabel = distanceLabel, HealthLabel = healthLabel, Highlight = highlight, Box = box } end local function isESPTeammate(targetPlayer) if not settings.ESPTeamCheck then return false end return player.Team ~= nil and targetPlayer.Team == player.Team end local function updateESP() for _,targetPlayer in ipairs(Players:GetPlayers()) do if targetPlayer ~= player then local character = targetPlayer.Character local data = espObjects[targetPlayer] if character then if not data or data.Character ~= character or not data.Billboard.Parent then createESP(targetPlayer,character) data = espObjects[targetPlayer] end end if data then local humanoid = character and character:FindFirstChildOfClass("Humanoid") local root = character and character:FindFirstChild("HumanoidRootPart") local head = character and character:FindFirstChild("Head") local allowed = settings.ESPEnabled and not isESPTeammate(targetPlayer) and humanoid ~= nil and humanoid.Health > 0 and root ~= nil and head ~= nil local visible = false if allowed then visible = hasClearView(character,head) end if allowed and visible then local color = getESPColor() data.Billboard.Adornee = head data.Billboard.AlwaysOnTop = not settings.ESPWallCheck data.Billboard.Enabled = settings.ShowNames or settings.ShowDistance or settings.ShowHealth data.NameLabel.Visible = settings.ShowNames data.DistanceLabel.Visible = settings.ShowDistance data.HealthLabel.Visible = settings.ShowHealth data.NameLabel.Text = targetPlayer.DisplayName data.DistanceLabel.Text = "" if settings.ShowDistance then local localCharacter = player.Character local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart") if localRoot then local distance = (localRoot.Position-root.Position).Magnitude data.DistanceLabel.Text = "Distance: "..math.floor(distance).." studs" else data.DistanceLabel.Text = "Distance: --" end end if settings.ShowHealth then data.HealthLabel.Text = "HP: "..math.ceil(humanoid.Health) .." / "..math.ceil(humanoid.MaxHealth) end data.Highlight.FillColor = color data.Highlight.OutlineColor = color data.Highlight.DepthMode = settings.ESPWallCheck and Enum.HighlightDepthMode.Occluded or Enum.HighlightDepthMode.AlwaysOnTop data.Highlight.Enabled = settings.HighlightESP data.Box.Color3 = color data.Box.AlwaysOnTop = not settings.ESPWallCheck local extents = character:GetExtentsSize() data.Box.Size = Vector3.new( math.clamp(extents.X*0.9,1.8,3.2), math.clamp(extents.Y*0.9,4.2,6.2), math.clamp(extents.Z*0.9,1.2,2.4) ) data.Box.Visible = settings.BoxESP else data.Billboard.Enabled = false data.Highlight.Enabled = false data.Box.Visible = false end end end end end Players.PlayerRemoving:Connect(function(targetPlayer) removeESP(targetPlayer) end) local function connectESPPlayer(targetPlayer) targetPlayer.CharacterAdded:Connect(function(character) task.wait(0.5) if targetPlayer.Parent == Players then createESP(targetPlayer,character) end end) if targetPlayer.Character then createESP(targetPlayer,targetPlayer.Character) end end for _,targetPlayer in ipairs(Players:GetPlayers()) do if targetPlayer ~= player then connectESPPlayer(targetPlayer) end end Players.PlayerAdded:Connect(function(targetPlayer) connectESPPlayer(targetPlayer) end) RunService.Heartbeat:Connect(updateESP) -- POV CIRCLE local circle = Instance.new("Frame") circle.Name = "POVCircle" circle.AnchorPoint = Vector2.new(0.5,0.5) circle.Position = UDim2.new(0.5,0,0.5,0) circle.Size = UDim2.fromOffset(300,300) circle.BackgroundTransparency = 1 circle.BorderSizePixel = 0 circle.Parent = gui corner(circle,100) local circleStroke = Instance.new("UIStroke") circleStroke.Color = purple circleStroke.Thickness = 2 circleStroke.Transparency = 0 circleStroke.Parent = circle -- TARGET INDICATOR local targetMarker = Instance.new("Frame") targetMarker.Name = "TargetMarker" targetMarker.Size = UDim2.fromOffset(24,24) targetMarker.AnchorPoint = Vector2.new(0.5,0.5) targetMarker.BackgroundTransparency = 1 targetMarker.Visible = false targetMarker.Parent = gui corner(targetMarker,100) local markerStroke = Instance.new("UIStroke") markerStroke.Color = Color3.fromRGB(255,75,75) markerStroke.Thickness = 2 markerStroke.Parent = targetMarker local targetLabel = Instance.new("TextLabel") targetLabel.Size = UDim2.fromOffset(180,25) targetLabel.Position = UDim2.fromOffset(15,-12) targetLabel.BackgroundTransparency = 1 targetLabel.TextColor3 = white targetLabel.TextSize = 14 targetLabel.Font = Enum.Font.Code targetLabel.TextXAlignment = Enum.TextXAlignment.Left targetLabel.Parent = targetMarker local function updateCircle() local diameter = settings.POVSize*2 circle.Size = UDim2.fromOffset(diameter,diameter) circle.Visible = settings.POVVisibility > 0 and settings.POVSize > 0 circleStroke.Transparency = 1-(settings.POVVisibility/100) end updateCircle() -- PLAYER TARGETING local currentTarget = nil local normalIndex = 0 local nextCycle = 0 local function getTargetPart(character) if settings.TargetPart == "Head" then return character:FindFirstChild("Head") elseif settings.TargetPart == "Torso" then return character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso") else return character:FindFirstChild("HumanoidRootPart") end end local function isTeammate(targetPlayer) if not settings.TeamCheck then return false end return player.Team ~= nil and targetPlayer.Team == player.Team end local function passesWallCheck(targetCharacter,targetPart) if not settings.WallCheck then return true end local origin = camera.CFrame.Position local direction = targetPart.Position-origin local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = { player.Character } local result = workspace:Raycast( origin, direction, params ) if not result then return true end return result.Instance:IsDescendantOf(targetCharacter) end local function getEligibleTargets() local results = {} if settings.POVSize <= 0 then return results end local center = camera.ViewportSize/2 for _,targetPlayer in ipairs(Players:GetPlayers()) do if targetPlayer ~= player and not isTeammate(targetPlayer) then local character = targetPlayer.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") local part = character and getTargetPart(character) if humanoid and humanoid.Health > 0 and part and part:IsA("BasePart") then local point,onScreen = camera:WorldToViewportPoint(part.Position) if onScreen then local distance = ( Vector2.new(point.X,point.Y)-center ).Magnitude if distance <= settings.POVSize and passesWallCheck(character,part) then table.insert(results,{ Player = targetPlayer, Character = character, Part = part, Distance = distance }) end end end end end return results end local function selectTarget(results) if #results == 0 then return nil end if settings.TargetMode == "Nearest" then table.sort(results,function(a,b) return a.Distance < b.Distance end) return results[1] elseif settings.TargetMode == "Farthest" then table.sort(results,function(a,b) return a.Distance > b.Distance end) return results[1] else if currentTarget then for i,item in ipairs(results) do if item.Player == currentTarget then normalIndex = i break end end end if os.clock() >= nextCycle then normalIndex = normalIndex + 1 if normalIndex > #results then normalIndex = 1 end nextCycle = os.clock()+0.8 end return results[normalIndex] end end -- AIM ASSIST UPDATE RunService:BindToRenderStep( "BossScriptsAimAssist", Enum.RenderPriority.Camera.Value+1, function(dt) if not settings.Aimbot then currentTarget = nil targetMarker.Visible = false return end local results = getEligibleTargets() local selected = selectTarget(results) if not selected then currentTarget = nil targetMarker.Visible = false return end currentTarget = selected.Player local targetPart = selected.Part if not targetPart or not targetPart.Parent then targetMarker.Visible = false return end local point,onScreen = camera:WorldToViewportPoint(targetPart.Position) if not onScreen then targetMarker.Visible = false return end targetMarker.Position = UDim2.fromOffset(point.X,point.Y) targetMarker.Visible = true targetLabel.Text = selected.Player.DisplayName local desired = CFrame.lookAt( camera.CFrame.Position, targetPart.Position ) local speed = 31-settings.Smoothness local alpha = 1-math.exp(-speed*dt*0.8) camera.CFrame = camera.CFrame:Lerp( desired, math.clamp(alpha,0,1) ) end ) -- BUILD TABS local function clearContent() for _,item in ipairs(content:GetChildren()) do if item:IsA("Frame") then item:Destroy() end end end local function showTab(tab) clearContent() search.Text = "" if tab == "Aimbot" then local a = section("Aimbot Main") toggle(a,"Enable Aimbot",false,function(v) settings.Aimbot = v currentTarget = nil targetMarker.Visible = false end) dropdown(a,"Target Mode",{ "Nearest","Farthest","Normal" },"Nearest",function(v) settings.TargetMode = v currentTarget = nil normalIndex = 0 nextCycle = 0 end) dropdown(a,"Target Part",{ "Head","Torso","Body" },"Head",function(v) settings.TargetPart = v end) toggle(a,"Team Check",false,function(v) settings.TeamCheck = v end) toggle(a,"Wall Check",false,function(v) settings.WallCheck = v end) local b = section("Aimbot Settings") slider(b,"POV Size",0,600,150,function(v) settings.POVSize = v updateCircle() end) slider(b,"Smoothness",1,30,8,function(v) settings.Smoothness = v end) slider(b,"POV Visibility",0,100,100,function(v) settings.POVVisibility = v updateCircle() end) elseif tab == "ESP" then local a = section("ESP Main") toggle(a,"Enable ESP",false,function(v) settings.ESPEnabled = v end) toggle(a,"Show Names",true,function(v) settings.ShowNames = v end) toggle(a,"Show Distance",true,function(v) settings.ShowDistance = v end) toggle(a,"Show Health",true,function(v) settings.ShowHealth = v end) local b = section("ESP Settings") toggle(b,"Box ESP",false,function(v) settings.BoxESP = v end) toggle(b,"Highlight ESP",false,function(v) settings.HighlightESP = v end) toggle(b,"Team Check",false,function(v) settings.ESPTeamCheck = v end) toggle(b,"ESP Wall Check",false,function(v) settings.ESPWallCheck = v end) dropdown(b,"Highlight Color",{ "White","Red","Green","Yellow","Blue" },"White",function(v) settings.ESPColor = v end) elseif tab == "Credits" then local a = section("Credits") label(a,"Boss Scripts",20,35) label(a,"Creator: Boss Scripts",16,30) label(a,"Scripting Assistant: ChatGPT",16,30) label(a,"Version: 1.7",16,30) label(a,"Thanks for using Boss Scripts!",16,35) end end -- TAB BUTTONS for index,tab in ipairs(tabs) do local button = Instance.new("TextButton") button.Name = tab button.LayoutOrder = index button.Size = UDim2.new(1/3,-5,1,0) button.BackgroundColor3 = panel button.Text = tab button.TextColor3 = gray button.TextSize = 17 button.Font = Enum.Font.Code button.Parent = tabFrame tabButtons[tab] = button corner(button,5) button.MouseButton1Click:Connect(function() for _,b in pairs(tabButtons) do b.BackgroundColor3 = panel b.TextColor3 = gray end button.BackgroundColor3 = Color3.fromRGB(43,31,61) button.TextColor3 = purple showTab(tab) end) end tabButtons.Aimbot.BackgroundColor3 = Color3.fromRGB(43,31,61) tabButtons.Aimbot.TextColor3 = purple showTab("Aimbot") -- SEARCH search:GetPropertyChangedSignal("Text"):Connect(function() local query = string.lower(search.Text) for _,box in ipairs(content:GetChildren()) do if box:IsA("Frame") then local found = query == "" for _,item in ipairs(box:GetChildren()) do if item:IsA("Frame") and item.Name ~= "UIListLayout" then local matches = query == "" or string.find( string.lower(item.Name), query,1,true ) item.Visible = matches ~= nil if matches then found = true end end end box.Visible = found end end end) -- DRAG MAIN WINDOW local function makeDraggable(object,handle) local dragging = false local startInput local startPosition handle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true startInput = input.Position startPosition = object.Position end end) UIS.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then local delta = input.Position-startInput object.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset+delta.X, startPosition.Y.Scale, startPosition.Y.Offset+delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) end makeDraggable(main,header) -- FLOATING TOGGLE BUTTON local floating = Instance.new("TextButton") floating.Name = "FloatingToggle" floating.Size = UDim2.new(0,125,0,45) floating.Position = UDim2.new(0,20,0.5,0) floating.BackgroundColor3 = black floating.Text = "Boss Scripts" floating.TextColor3 = white floating.TextSize = 16 floating.Font = Enum.Font.Code floating.Parent = gui corner(floating,7) outline(floating) local visible = true local dragging = false local moved = false local startInput local startPosition floating.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true moved = false startInput = input.Position startPosition = floating.Position end end) UIS.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then local delta = input.Position-startInput if delta.Magnitude > 5 then moved = true end floating.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset+delta.X, startPosition.Y.Scale, startPosition.Y.Offset+delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then if dragging then dragging = false if not moved then visible = not visible main.Visible = visible end end end end) print("Boss Scripts v1.7 Loaded")