Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kills players and zombies with a single click, glitchy
- Code:
- local mouse=game.Players.LocalPlayer:GetMouse()
- function onButton1Down(mouse)
- local kek
- local horz =true
- local tp = mouse.Target.Parent
- if tp:FindFirstChild("Humanoid") and tp.Name=="Zombie" then--zomb
- kek= tp.Humanoid
- horz=true
- else--human
- kek=tp.Humanoid
- horz=false
- end
- if horz==true then--zomb
- game.Workspace.resources.events.humTakeDamage:FireServer(kek,1009, tp.Torso)
- elseif horz==false then--humn
- game.Workspace.resources.events.humTakeDamage:FireServer(kek, 1009)
- end
- end
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- Kills all zombies in the server. You can use while wait for inf money
- Code:
- work=game.workspace.commonInfected
- for i,v in pairs(work:children())do
- if v.Name=="Zombie" then
- for y,n in pairs(v:children())do
- if n.ClassName=="Humanoid" then
- game.Workspace.resources.events.humTakeDamage:FireServer(n,1009, v.Torso)
- end end end end
- kill all players, including you. Gives negative rep so I don't recommend it
- Code:
- plr=game.Players
- for i,v in pairs(plr:children())do
- if v.Name~=game.Players.LocalPlayer then
- game.Workspace.resources.events.humTakeDamage:FireServer(v.Character.Humanoid, 1009)
- end
- end
- loopkill a specific player--untested
- Code:
- nameplr=""---full name
- while wait() do
- game.Workspace.resources.events.humTakeDamage:FireServer(game.Players[nameplr].Character.Humanoid, 1009)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement