local VirtualInputManager = game:GetService("VirtualInputManager") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))() local Window = Library.CreateLib("Kill anyone", "DarkTheme") local Tab = Window:NewTab("Kill") local Section = Tab:NewSection("Kill") Section:NewButton("Get shotgun", "Gives you shotgun so the script works", function() if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then LocalPlayer.Character:PivotTo(CFrame.new(-789.930969, 2.99992466, 27.4075813)) task.wait(0.1) VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.E, false, game) task.wait(0.05) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game) end end) local selectedPlayerName = nil local function getPlayerList() local playerNames = {} for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then table.insert(playerNames, player.Name) end end return playerNames end local playerDropdown = Section:NewDropdown("Select Player", "Choose a player to target", getPlayerList(), function(selected) selectedPlayerName = selected end) local function updateDropdown() task.wait(0.1) local updatedList = getPlayerList() playerDropdown:Refresh(updatedList) if selectedPlayerName and not Players:FindFirstChild(selectedPlayerName) then selectedPlayerName = nil end end Players.PlayerAdded:Connect(updateDropdown) Players.PlayerRemoving:Connect(updateDropdown) local function Kill(victimName) if not victimName then return end local targetPlayer = Players:FindFirstChild(victimName) if not targetPlayer or not targetPlayer.Character then return end local targetHumanoid = targetPlayer.Character:FindFirstChildOfClass("Humanoid") local shotgun = LocalPlayer.Backpack:FindFirstChild("Shotgun") or (LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Shotgun")) if shotgun and shotgun:FindFirstChild("Receiver") and targetHumanoid then shotgun.Receiver:FireServer("Damage", targetHumanoid, math.huge) end end Section:NewButton("Kill player", "Kills the selected player", function() Kill(selectedPlayerName) end)