Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local P = game:GetService("Players")
- local R = game:GetService("ReplicatedStorage")
- local T = game:GetService("Teams")
- local RS = game:GetService("RunService")
- local LP = P.LocalPlayer
- local HB = RS.Heartbeat
- local function team_check(player)
- if player.Team == T.Alive then
- return true
- end
- return false
- end
- local function M9_tool()
- local M9B = LP.Backpack:FindFirstChild("M9")
- local M9L = LP:FindFirstChild("M9")
- if M9L then
- return M9L
- elseif M9B then
- return M9B
- end
- end
- local function kill_all(M9)
- M9.Parent = LP.Character
- for _,v in next,P:GetPlayers() do
- if v ~= LP and team_check(LP) and team_check(v) and LP.Character ~= nil and v.Character ~= nil then
- local ehum = v.Character:FindFirstChildOfClass("Humanoid")
- local hum = LP.Character:FindFirstChildOfClass("Humanoid")
- local humr = LP.Character:FindFirstChild("HumanoidRootPart")
- local M9 = LP.Character:FindFirstChild("M9")
- if ehum and hum and humr and M9 then
- for i=1,7 do
- R:WaitForChild("Remotes"):WaitForChild("Dont_Buy_From_Jacob"):FireServer("xHyf86e", 15, ehum, M9, v.Name, 7, {[1] = CFrame.new(humr.Position),[2] = Vector3.new(humr.Position)}, humr.CFrame, Vector3.new(0.05,0.05,55), humr.Position)
- end
- hum.Health = 0
- end
- end
- end
- wait(0.5)
- M9.Parent = LP
- end
- if LP.Character ~= nil then
- repeat HB:wait() until LP.Backpack:FindFirstChild("M9") or LP:FindFirstChild("M9")
- local M9B = LP.Backpack:FindFirstChild("M9")
- local M9L = LP:FindFirstChild("M9")
- if M9L then
- kill_all(M9L)
- elseif M9B then
- kill_all(M9B)
- end
- end
- LP.CharacterAdded:Connect(function(a)
- repeat HB:wait() until LP.Backpack:FindFirstChild("M9") or LP:FindFirstChild("M9")
- repeat HB:wait() until LP.Team == T.Alive
- wait(3)
- local M9B = LP.Backpack:FindFirstChild("M9")
- local M9L = LP:FindFirstChild("M9")
- if M9L then
- kill_all(M9L)
- elseif M9B then
- kill_all(M9B)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement