Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ks
- local players=game:GetService"Players"
- local lp=players.LocalPlayer
- lp:GetMouse().Button1Down:connect(function()
- local target=lp:GetMouse().Target
- if target then
- for _, p in ipairs(game.Players:GetPlayers()) do
- if p.Character and p.Character:IsAncestorOf(target) then
- p:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement