-- Team-Aware Single-Tool Death-Resilient Auto-Click Suite -- Compatible with Delta and universal executors local players = game:GetService("Players") local vim = game:GetService("VirtualInputManager") local player = players.LocalPlayer local screenGui, mainFrame, statusLabel, playStopBtn, autoClickBtn, scrollTools, scrollHealth local activeToolName = nil local suiteActive = false local autoClickActive = false local currentTarget = nil -- Function to check if a player is on your team local function isEnemy(targetPlayer) if targetPlayer == player then return false end -- Check standard Roblox Team property if player.Team and targetPlayer.Team then if targetPlayer.Team == player.Team then return false -- Same team, do not attack! end end -- Check for Team/Faction attributes or group configs commonly used in games if player:GetAttribute("Team") and targetPlayer:GetAttribute("Team") then if player:GetAttribute("Team") == targetPlayer:GetAttribute("Team") then return false end end return true -- Valid enemy end -- Function to recreate the UI cleanly on respawn local function createUI() local existing = player.PlayerGui:FindFirstChild("TeamAwareKillSuiteGui") if existing then existing:Destroy() end screenGui = Instance.new("ScreenGui") screenGui.Name = "TeamAwareKillSuiteGui" screenGui.ResetOnSpawn = false screenGui.Parent = player.PlayerGui mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 240, 0, 480) mainFrame.Position = UDim2.new(0, 40, 0, 120) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 15, 30) mainFrame.BorderColor3 = Color3.fromRGB(255, 100, 0) mainFrame.BorderSizePixel = 2 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 30) titleLabel.BackgroundColor3 = Color3.fromRGB(35, 25, 50) titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 11 titleLabel.Font = Enum.Font.SourceSansBold titleLabel.Text = "TEAM-AWARE AUTO KILL" titleLabel.Parent = mainFrame statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(1, -10, 0, 20) statusLabel.Position = UDim2.new(0, 5, 0, 32) statusLabel.BackgroundTransparency = 1 statusLabel.TextColor3 = Color3.fromRGB(0, 255, 150) statusLabel.TextSize = 10 statusLabel.Font = Enum.Font.SourceSansItalic statusLabel.Text = activeToolName and ("Active: " .. activeToolName) or "Select 1 tool, then press PLAY:" statusLabel.Parent = mainFrame playStopBtn = Instance.new("TextButton") playStopBtn.Size = UDim2.new(1, -10, 0, 30) playStopBtn.Position = UDim2.new(0, 5, 0, 55) playStopBtn.BackgroundColor3 = suiteActive and Color3.fromRGB(20, 180, 40) or Color3.fromRGB(180, 20, 20) playStopBtn.TextColor3 = Color3.fromRGB(255, 255, 255) playStopBtn.TextSize = 12 playStopBtn.Font = Enum.Font.SourceSansBold playStopBtn.Text = suiteActive and "STATUS: PLAYING (STOP)" or "STATUS: STOPPED (PLAY)" playStopBtn.Parent = mainFrame autoClickBtn = Instance.new("TextButton") autoClickBtn.Size = UDim2.new(1, -10, 0, 28) autoClickBtn.Position = UDim2.new(0, 5, 0, 90) autoClickBtn.BackgroundColor3 = autoClickActive and Color3.fromRGB(20, 180, 40) or Color3.fromRGB(180, 20, 20) autoClickBtn.TextColor3 = Color3.fromRGB(255, 255, 255) autoClickBtn.TextSize = 11 autoClickBtn.Font = Enum.Font.SourceSansBold autoClickBtn.Text = autoClickActive and "AUTO-CLICK: ON" or "AUTO-CLICK: OFF" autoClickBtn.Parent = mainFrame local toolListHeader = Instance.new("TextLabel") toolListHeader.Size = UDim2.new(1, -10, 0, 18) toolListHeader.Position = UDim2.new(0, 5, 0, 122) toolListHeader.BackgroundTransparency = 1 toolListHeader.TextColor3 = Color3.fromRGB(200, 200, 200) toolListHeader.TextSize = 10 toolListHeader.Font = Enum.Font.SourceSansBold toolListHeader.Text = "--- SELECT YOUR TOOL ---" toolListHeader.Parent = mainFrame scrollTools = Instance.new("ScrollingFrame") scrollTools.Size = UDim2.new(1, -10, 0, 90) scrollTools.Position = UDim2.new(0, 5, 0, 142) scrollTools.BackgroundColor3 = Color3.fromRGB(12, 10, 18) scrollTools.BorderSizePixel = 1 scrollTools.CanvasSize = UDim2.new(0, 0, 0, 0) scrollTools.AutomaticCanvasSize = Enum.AutomaticSize.Y scrollTools.Parent = mainFrame local toolListLayout = Instance.new("UIListLayout") toolListLayout.Padding = UDim.new(0, 3) toolListLayout.Parent = scrollTools local healthHeader = Instance.new("TextLabel") healthHeader.Size = UDim2.new(1, -10, 0, 18) healthHeader.Position = UDim2.new(0, 5, 0, 235) healthHeader.BackgroundTransparency = 1 healthHeader.TextColor3 = Color3.fromRGB(255, 100, 100) healthHeader.TextSize = 10 healthHeader.Font = Enum.Font.SourceSansBold healthHeader.Text = "--- LIVE ENEMY HEALTH HUD ---" healthHeader.Parent = mainFrame scrollHealth = Instance.new("ScrollingFrame") scrollHealth.Size = UDim2.new(1, -10, 0, 195) scrollHealth.Position = UDim2.new(0, 5, 0, 255) scrollHealth.BackgroundColor3 = Color3.fromRGB(12, 10, 18) scrollHealth.BorderSizePixel = 1 scrollHealth.CanvasSize = UDim2.new(0, 0, 0, 0) scrollHealth.AutomaticCanvasSize = Enum.AutomaticSize.Y scrollHealth.Parent = mainFrame local healthListLayout = Instance.new("UIListLayout") healthListLayout.Padding = UDim.new(0, 3) healthListLayout.Parent = scrollHealth playStopBtn.MouseButton1Click:Connect(function() if not activeToolName then statusLabel.Text = "Error: Select a tool first!" return end suiteActive = not suiteActive if suiteActive then playStopBtn.Text = "STATUS: PLAYING (STOP)" playStopBtn.BackgroundColor3 = Color3.fromRGB(20, 180, 40) else playStopBtn.Text = "STATUS: STOPPED (PLAY)" playStopBtn.BackgroundColor3 = Color3.fromRGB(180, 20, 20) currentTarget = nil statusLabel.Text = "Status: Stopped" end end) autoClickBtn.MouseButton1Click:Connect(function() autoClickActive = not autoClickActive if autoClickActive then autoClickBtn.Text = "AUTO-CLICK: ON" autoClickBtn.BackgroundColor3 = Color3.fromRGB(20, 180, 40) else autoClickBtn.Text = "AUTO-CLICK: OFF" autoClickBtn.BackgroundColor3 = Color3.fromRGB(180, 20, 20) end end) end local function updateToolList() if not scrollTools then return end for _, child in ipairs(scrollTools:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end local backpack = player:FindFirstChild("Backpack") if not backpack then return end local foundTools = {} for _, item in ipairs(backpack:GetChildren()) do if item:IsA("Tool") then table.insert(foundTools, item) end end local char = player.Character if char then for _, item in ipairs(char:GetChildren()) do if item:IsA("Tool") then table.insert(foundTools, item) end end end for _, tool in ipairs(foundTools) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -10, 0, 26) local isSelected = (activeToolName == tool.Name) btn.BackgroundColor3 = isSelected and Color3.fromRGB(0, 150, 100) or Color3.fromRGB(45, 35, 65) btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 10 btn.Font = Enum.Font.SourceSansBold btn.Text = (isSelected and "▶ " or "📦 ") .. tool.Name btn.Parent = scrollTools btn.MouseButton1Click:Connect(function() activeToolName = tool.Name statusLabel.Text = "Active: " .. tool.Name for _, other in ipairs(scrollTools:GetChildren()) do if other:IsA("TextButton") then if other == btn then other.BackgroundColor3 = Color3.fromRGB(0, 150, 100) other.Text = "▶ " .. tool.Name else other.BackgroundColor3 = Color3.fromRGB(45, 35, 65) other.Text = "📦 " .. string.gsub(other.Text, "^[▶📦] ", "") end end end end) end end local function acquireNextTarget() if not suiteActive then return end for _, p in ipairs(players:GetPlayers()) do if isEnemy(p) and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local enemyHumanoid = p.Character:FindFirstChildOfClass("Humanoid") if enemyHumanoid and enemyHumanoid.Health > 0 then currentTarget = p statusLabel.Text = "Target: " .. p.Name return end end end currentTarget = nil statusLabel.Text = "No enemies left!" end -- Respawn auto-recovery player.CharacterAdded:Connect(function(newChar) currentTarget = nil task.wait(0.6) createUI() local backpack = player:WaitForChild("Backpack") backpack.ChildAdded:Connect(updateToolList) backpack.ChildRemoved:Connect(updateToolList) updateToolList() end) createUI() local backpack = player:WaitForChild("Backpack") backpack.ChildAdded:Connect(updateToolList) backpack.ChildRemoved:Connect(updateToolList) updateToolList() -- Main Teleport & Auto-Click Loop with Team Filtering task.spawn(function() while true do if scrollHealth and scrollHealth.Parent then for _, child in ipairs(scrollHealth:GetChildren()) do if child:IsA("TextLabel") then child:Destroy() end end for _, p in ipairs(players:GetPlayers()) do if p ~= player then local hpText = "Dead / Offline" local textColor = Color3.fromRGB(150, 150, 150) if p.Character and p.Character:FindFirstChildOfClass("Humanoid") then local hum = p.Character.Humanoid hpText = math.floor(hum.Health) .. " / " .. math.floor(hum.MaxHealth) if hum.Health > 0 then if isEnemy(p) then textColor = Color3.fromRGB(255, 50, 50) -- Red for enemies else textColor = Color3.fromRGB(100, 150, 255) -- Blue for teammates end else textColor = Color3.fromRGB(100, 100, 100) end end local labelPrefix = isEnemy(p) and "⚔️ [Enemy] " or "🛡️ [Team] " local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1, -10, 0, 22) lbl.BackgroundColor3 = Color3.fromRGB(20, 18, 28) lbl.TextColor3 = textColor lbl.TextSize = 10 lbl.Font = Enum.Font.SourceSansBold lbl.Text = labelPrefix .. p.Name .. " | HP: " .. hpText lbl.Parent = scrollHealth end end end local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") local rootPart = character and character:FindFirstChild("HumanoidRootPart") if suiteActive and activeToolName and character and rootPart and humanoid and humanoid.Health > 0 then -- Verify current target is still valid and an enemy if not currentTarget or not isEnemy(currentTarget) or not currentTarget.Character or not currentTarget.Character:FindFirstChild("HumanoidRootPart") then acquireNextTarget() else local enemyRoot = currentTarget.Character:FindFirstChild("HumanoidRootPart") local enemyHumanoid = currentTarget.Character:FindFirstChildOfClass("Humanoid") if not enemyHumanoid or enemyHumanoid.Health <= 0 or not enemyRoot then acquireNextTarget() else pcall(function() -- Teleport to enemy rootPart.CFrame = enemyRoot.CFrame * CFrame.new(0, 0, 1.5) local tool = backpack:FindFirstChild(activeToolName) or character:FindFirstChild(activeToolName) if tool then if tool.Parent ~= character then humanoid:EquipTool(tool) end if autoClickActive then tool.Parent = character -- Virtual input click vim:SendMouseButtonEvent(0, 0, 0, true, game, 0) task.wait(0.01) vim:SendMouseButtonEvent(0, 0, 0, false, game, 0) if tool:FindFirstChild("Activate") then tool:Activate() end -- Fire any remote events found inside the tool for _, desc in ipairs(tool:GetDescendants()) do if desc:IsA("RemoteEvent") then desc:FireServer(enemyRoot.Position) elseif desc:IsA("RemoteFunction") then pcall(function() desc:InvokeServer(enemyRoot.Position) end) end end end end end) end end end task.wait(0.1) end end)