local Players = game:GetService("Players") local player = Players.LocalPlayer local targetPlayer = nil local originalCFrame = nil local killStartTime = nil local isKilling = false local loopKill = false local lastToggle = 0 local insideMode = false local function showNotification(message, duration) game.StarterGui:SetCore("SendNotification", { Title = "funni kill", Text = message, Duration = duration or 3 }) end local function noCollision(char) for _,v in pairs(char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end end local function applyNoCollision() for _,plr in pairs(Players:GetPlayers()) do if plr ~= player and plr.Character then noCollision(plr.Character) end end end local function findPlayer(text) text = text:lower() for _, plr in pairs(Players:GetPlayers()) do if string.find(plr.Name:lower(), text) or string.find(plr.DisplayName:lower(), text) then return plr end end end player.Chatted:Connect(function(msg) if msg:sub(1,6):lower() == ";kill " then local name = msg:sub(7) local plr = findPlayer(name) if plr and plr.Character and plr.Character:FindFirstChild("Humanoid") then targetPlayer = plr killStartTime = tick() isKilling = true loopKill = false lastToggle = tick() insideMode = false if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then originalCFrame = player.Character.HumanoidRootPart.CFrame end else showNotification("This player doesn't exist",3) end end if msg:sub(1,10):lower() == ";loopkill " then local name = msg:sub(11) local plr = findPlayer(name) if plr then targetPlayer = plr killStartTime = tick() isKilling = true loopKill = true lastToggle = tick() insideMode = false if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then originalCFrame = player.Character.HumanoidRootPart.CFrame end showNotification("Loopkilling "..plr.Name,3) end end if msg:lower() == ";unloopkill" then loopKill = false isKilling = false targetPlayer = nil showNotification("Loopkill stopped",3) end end) task.spawn(function() while true do task.wait(0.03) applyNoCollision() if isKilling and targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("Humanoid") then local targetHum = targetPlayer.Character.Humanoid if targetHum.Health <= 0 then if originalCFrame and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = originalCFrame end showNotification(targetPlayer.Name.." killed Imao",3) if loopKill then repeat task.wait() until targetPlayer.Character and targetPlayer.Character:FindFirstChild("Humanoid") and targetPlayer.Character.Humanoid.Health > 0 killStartTime = tick() else isKilling = false targetPlayer = nil end else local myChar = player.Character local targetChar = targetPlayer.Character if myChar and targetChar then local myHRP = myChar:FindFirstChild("HumanoidRootPart") local targetHRP = targetChar:FindFirstChild("HumanoidRootPart") if myHRP and targetHRP then if tick() - lastToggle >= 0.25 then lastToggle = tick() insideMode = not insideMode end local offset = 17 local vel = targetHRP.Velocity if vel.Magnitude > 0.1 then local moveDir = vel.Unit local lookDir = targetHRP.CFrame.LookVector local dot = moveDir:Dot(lookDir) if dot < 0 then offset = -17 end end if insideMode then offset = 0 end local targetCFrame = targetHRP.CFrame * CFrame.new(0,0,-offset) * CFrame.Angles(0,math.rad(-3),0) myHRP.CFrame = myHRP.CFrame:Lerp(targetCFrame,0.4) myHRP.Velocity = Vector3.zero myHRP.RotVelocity = Vector3.zero end end end end end end) task.spawn(function() while true do task.wait() if isKilling and player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid:Move(Vector3.one * 1e31) end end end)