local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))() local Window = Library.CreateLib("Body Swap Facility Script", "DarkTheme") local aimbotstate = false local killstate = false local instakillstate = false local disableforcefield = false local Tab = Window:NewTab("Main") local Section = Tab:NewSection("Main") local userid = game.Players.LocalPlayer.UserId Section:NewToggle("Aimbot", "dont equip frying pan", function(state) aimbotstate = state end) Section:NewToggle("Kill Aimbot", "equip rope, uses rope to tp them out", function(state) killstate = state end) Section:NewToggle("Insta Kill Aimbot", "dont equip anything, just click on a person and it uses every pan and kils them", function(state) instakillstate = state end) Section:NewToggle("Unlock gamepasses", "explaniatory", function(state) if state == true then game.Players.LocalPlayer.UserId = 5617420376 else game.Players.LocalPlayer.UserId = userid end end) Section:NewButton("Insta Kill Everyone", "same as insta kill", function() for _,victim in pairs(game.Players:GetPlayers()) do for i,v in pairs(game.Players:GetPlayers()) do if v ~= victim and v.Backpack:FindFirstChild("FryingPan") and v ~= game.Players.LocalPlayer and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then print("call") local args = { "slash", victim.Character, v.Character.HumanoidRootPart.Position } v.Backpack:WaitForChild("FryingPan"):WaitForChild("Event"):FireServer(unpack(args)) end end wait(1) end end) Section:NewButton("Kill everyone. (rope must be equipped)", "explaniatory", function() for i,victim in pairs(game.Players:GetPlayers()) do if victim ~= game.Players.LocalPlayer then print("continueing") local oldpos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame wait(0.5) local args = { victim.Character:WaitForChild("LeftUpperLeg"), victim.Character:WaitForChild("LeftUpperLeg").CFrame } game:GetService("Players").LocalPlayer.Character:WaitForChild("Rope"):WaitForChild("LocalScript"):WaitForChild("RemoteEvent"):FireServer(unpack(args)) game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame += Vector3.new(100000,1000000,100000) wait(1) local args = { victim.Character:WaitForChild("LeftUpperLeg"), victim.Character:WaitForChild("LeftUpperLeg").CFrame } game:GetService("Players").LocalPlayer.Character:WaitForChild("Rope"):WaitForChild("LocalScript"):WaitForChild("RemoteEvent"):FireServer(unpack(args)) wait(0.5) game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = oldpos end end end) local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local function getDistance(a, b) return (a - b).Magnitude end local function getClosestPlayerToPoint(point) local closestPlayer = nil local shortestDistance = math.huge for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local charPos = player.Character.HumanoidRootPart.Position local dist = getDistance(point, charPos) if dist < shortestDistance then shortestDistance = dist closestPlayer = player end end end return closestPlayer end Mouse.Button1Down:Connect(function() local clickPos = Mouse.Hit.Position local victim = getClosestPlayerToPoint(clickPos) if not killstate then return end if victim then local oldpos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame wait(0.5) local args = { victim.Character:WaitForChild("LeftUpperLeg"), victim.Character:WaitForChild("LeftUpperLeg").CFrame } game:GetService("Players").LocalPlayer.Character:WaitForChild("Rope"):WaitForChild("LocalScript"):WaitForChild("RemoteEvent"):FireServer(unpack(args)) game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame += Vector3.new(100000,1000000,100000) wait(1) local args = { victim.Character:WaitForChild("LeftUpperLeg"), victim.Character:WaitForChild("LeftUpperLeg").CFrame } game:GetService("Players").LocalPlayer.Character:WaitForChild("Rope"):WaitForChild("LocalScript"):WaitForChild("RemoteEvent"):FireServer(unpack(args)) wait(0.5) game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = oldpos else print("No player close enough to click point.") end end) Mouse.Button1Down:Connect(function() local clickPos = Mouse.Hit.Position local targetPlayer = getClosestPlayerToPoint(clickPos) if not aimbotstate then return end if targetPlayer then print("You clicked near: " .. targetPlayer.Name) local args = { "slash", targetPlayer.Character, game.Players.LocalPlayer.Character.HumanoidRootPart.Position } game:GetService("Players").LocalPlayer.Backpack:WaitForChild("FryingPan"):WaitForChild("Event"):FireServer(unpack(args)) else print("No player close enough to click point.") end end) Mouse.Button1Down:Connect(function() local clickPos = Mouse.Hit.Position local victim = getClosestPlayerToPoint(clickPos) if not instakillstate then return end if victim then for i,v in pairs(game.Players:GetPlayers()) do if v ~= victim and v.Backpack:FindFirstChild("FryingPan") then print("call") local args = { "slash", victim.Character, v.Character.HumanoidRootPart.Position } v.Backpack:WaitForChild("FryingPan"):WaitForChild("Event"):FireServer(unpack(args)) end end else print("No player close enough to click point.") end end)