Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character
- local tool = character:FindFirstChildOfClass("Tool")
- local back = player.Backpack:FindFirstChildOfClass("Tool")
- while wait(0.1) do
- if tool then
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= player and v.Team ~= player.Team and v.Character then
- local h = v.Character:FindFirstChildOfClass("Humanoid")
- local r = v.Character:FindFirstChild("UpperTorso")
- if h and r then
- local args = {
- [1] = h,
- [2] = r,
- [3] = 100,
- [4] = Vector3.new(0, 0, 0),
- [5] = 0,
- [6] = 0,
- [7] = false
- }
- tool.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end
- end
- end
- end
- spawn(function()
- while wait(0.1) do
- if back then
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= player and v.Team ~= player.Team and v.Character then
- local j = v.Character:FindFirstChildOfClass("Humanoid")
- local y = v.Character:FindFirstChild("HumanoidRootPart")
- if j and y then
- local args = {
- [1] = j,
- [2] = y,
- [3] = 100,
- [4] = Vector3.new(0, 0, 0),
- [5] = 0,
- [6] = 0,
- [7] = false
- }
- back.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement