SigmaBoy456

Roblox FE gui Kill all script swat vs criminal v1

Jun 8th, 2024 (edited)
755
-1
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.19 KB | None | 0 1
  1. local DrRayLibrary = loadstring(game:HttpGet("https://raw.githubusercontent.com/AZYsGithub/DrRay-UI-Library/main/DrRay.lua"))()
  2. local window = DrRayLibrary:Load("Kill all crminal vs Swat Script GUI v1", "Default")
  3. local tab = DrRayLibrary.newTab("Script", "ImageIdHere")
  4. tab.newButton("swat kill all", "equip swat sniper to work", function()
  5.     while true do
  6. local player = game.Players.LocalPlayer
  7. local character = player.Character or player.CharacterAdded:Wait()
  8.  
  9. for i, v in ipairs(game.Players:GetPlayers()) do
  10.     if v.Name ~= player.Name then
  11.         local VH = v.Character and v.Character:FindFirstChildOfClass("Humanoid")
  12.         local VN = v.Character and v.Character:FindFirstChild("UpperTorso")
  13.        
  14.         if VH and VN then
  15.             local args = {
  16.                 [1] = VH,
  17.                 [2] = VN,
  18.                 [3] = 105,
  19.                 [4] = Vector3.new(-0.9173938632011414, -0.031094204634428024, 0.39676421880722046),
  20.                 [5] = 0,
  21.                 [6] = false,
  22.                 [7] = false
  23.             }
  24.  
  25.             game:GetService("Players").LocalPlayer.Character.Sniperswat.GunScript_Server.InflictTarget:FireServer(unpack(args))
  26.         end
  27.     end
  28. end
  29. wait(1)
  30.     end
  31. end)
  32. tab.newButton("kill all criminal sniper", "equip sniper criminal to work", function()
  33.     while true do
  34. local player = game.Players.LocalPlayer
  35. local character = player.Character or player.CharacterAdded:Wait()
  36.  
  37. for i, v in ipairs(game.Players:GetPlayers()) do
  38.     if v.Name ~= player.Name then
  39.         local VH = v.Character and v.Character:FindFirstChildOfClass("Humanoid")
  40.         local VN = v.Character and v.Character:FindFirstChild("UpperTorso")
  41.        
  42.         if VH and VN then
  43.             local args = {
  44.                 [1] = VH,
  45.                 [2] = VN,
  46.                 [3] = 105,
  47.                 [4] = Vector3.new(-0.9173938632011414, -0.031094204634428024, 0.39676421880722046),
  48.                 [5] = 0,
  49.                 [6] = false,
  50.                 [7] = false
  51.             }
  52.  
  53.             game:GetService("Players").LocalPlayer.Character.Snipercrim.GunScript_Server.InflictTarget:FireServer(unpack(args))
  54.         end
  55.     end
  56. end
  57. wait(1)
  58.     end
  59. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment