Kill Script for pc only
Key RequiredUniversal

Kill Script for pc only

Universal ScriptAyhamoAyhamo 795 views 229 executesUpdated Feb 13, 2026
Unrated
00
Lua Script•72 lines (2443 chars)
-- LocalScript ضعيه في StarterPlayer > StarterPlayerScripts
-- هذا السكريبت بيشتغل على الـ Client فقط، يعني بيقتل الشخص محلياً (مش هيروح للسيرفر إلا لو في exploit)
-- لو عايز يشتغل على السيرفر، هتحتاج RemoteEvent بس ده للـ exploit أو لومك الخاص

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local lastTouchedHumanoid = nil

local function setupCharacter(char)
    local humanoid = char:WaitForChild("Humanoid")
    lastTouchedHumanoid = nil
    
    local connections = {}
    
    local function onTouched(hit)
        local hitHumanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
        if hitHumanoid and hitHumanoid.Parent ~= char and Players:GetPlayerFromCharacter(hitHumanoid.Parent) then
            lastTouchedHumanoid = hitHumanoid
        end
    end
    
    -- ربط الـ Touched لكل جزء في الشخصية
    for _, part in pairs(char:GetChildren()) do
        if part:IsA("BasePart") then
            local conn = part.Touched:Connect(onTouched)
            table.insert(connections, conn)
        end
    end
    
    -- لو إضاف جزء جديد (مثل accessories)
    char.ChildAdded:Connect(function(child)
        if child:IsA("BasePart") then
            local conn = child.Touched:Connect(onTouched)
            table.insert(connections, conn)
        end
    end)
    
    -- تنظيف الاتصالات لما الشخصية تموت
    humanoid.Died:Connect(function()
        for _, conn in pairs(connections) do
            conn:Disconnect()
        end
    end)
end

-- إعداد الشخصية الحالية
if player.Character then
    setupCharacter(player.Character)
end

-- إعداد للشخصيات الجديدة (respawn)
player.CharacterAdded:Connect(setupCharacter)

-- الضغط على Z
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.Z then
        if lastTouchedHumanoid then
            lastTouchedHumanoid.Health = 0  -- قتل
            -- أو بديل: lastTouchedHumanoid.Parent:BreakJoints() لو مش شغال
            print("قتلت: " .. Players:GetNameFromUserIdAsync(lastTouchedHumanoid.Parent:FindFirstChild("HumanoidRootPart").Parent.UserId))  -- طباعة اسم الضحية
            lastTouchedHumanoid = nil  -- reset
        else
            print("مافيش حد ملموس!")
        end
    end
end)

print("السكريبت جاهز! اضغط Z وأنت لمس الشخص اللي عايز تقتله")

Features & Information

touch any player and press :Z: to kill!

Community Comments (5)

AyhamoAyhamoFeb 13, 2026

mobile version soon!

MoondudeRealMoondudeRealFeb 13, 2026

this is fake, does not actually kill, visual only

Replying to @MoondudeReal
AyhamoAyhamoFeb 13, 2026

@MoondudeReal dude did u try it?

Replying to @Ayhamo
MoondudeRealMoondudeRealFeb 13, 2026

@Ayhamo yea

Replying to @MoondudeReal
AyhamoAyhamoFeb 13, 2026

@MoondudeReal srry i am new at scripting

More Scripts for Universal Scripts