Advertisement
NukeVsCity

Big paintball KILL ALL & SILENT AIM

Jul 30th, 2020
14,925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. SCROLL DOWN FOR SILENT AIM
  2.  
  3. ---------------------------------------------------
  4.  
  5. KILL ALL SCRIPT
  6.  
  7. ---------------------------------------------------
  8.  
  9. _G.enabled = true
  10.  
  11. function GetPlayer() -- gets the closest player
  12. local closestPlayer = nil
  13. local shortestDistance = math.huge
  14. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  15. if v.Name ~= game.Players.LocalPlayer.Name then
  16. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and
  17. v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  18. local magnitude = (v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude
  19. if magnitude < shortestDistance then
  20. closestPlayer = v
  21. shortestDistance = magnitude
  22. end
  23. end
  24. end
  25. end
  26.  
  27. return closestPlayer
  28. end
  29.  
  30. local lib = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"))
  31. local GUID = lib.Functions.GenerateUID()
  32. local random1 = math.random(1, 1)
  33. local random2 = math.random(2, 2)
  34.  
  35. while _G.enabled do
  36. wait(0)
  37. local Hum = GetPlayer().Character.Humanoid
  38. local HRP = GetPlayer().Character.HumanoidRootPart
  39. local args2 = {{Hum, GUID, random1, HRP.Position, false, false, false}, {false, false, false, false, false, random2, random2}}
  40. lib.Network.Fire("New Projectile", 1, GUID, math.floor(game.Workspace.DistributedGameTime))
  41. game.workspace.__THINGS.__REMOTES["do damage"]:FireServer(args2)
  42. end
  43.  
  44. --------------------------------------------------------------
  45.  
  46. SILENT AIM FREE FOR ALL
  47.  
  48. ---------------------------------------------------------------
  49.  
  50. _G.FFA = true
  51. if _G.FFA then
  52. if game.Players.LocalPlayer.Team == nil then
  53. _G.silentTeam = false
  54. function GetPlayer() -- gets the closest player
  55. local closestPlayer = nil
  56. local shortestDistance = math.huge
  57. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  58. if v.Name ~= game.Players.LocalPlayer.Name then
  59. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and
  60. v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  61. local magnitude = (v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude
  62. if magnitude < shortestDistance then
  63. closestPlayer = v
  64. shortestDistance = magnitude
  65. end
  66. end
  67. end
  68. end
  69. return closestPlayer
  70. end
  71.  
  72. --Locals--
  73. local lib = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"))
  74. local GUID = lib.Functions.GenerateUID()
  75. local random1 = math.random(1, 1)
  76. local random2 = math.random(2, 2)
  77.  
  78.  
  79. --MetaHook----
  80. local mt = getrawmetatable(game)
  81. local old = mt.__namecall
  82. setreadonly(mt, false)
  83. mt.__namecall = newcclosure(function(self, ...)
  84. local arggs = {...}
  85. local namecallmethod = getnamecallmethod()
  86. if namecallmethod == "FireServer" and self.Name == "new projectile" then
  87. arggs[1][1][1] = 1
  88. arggs[1][1][2] = GUID
  89. game.workspace.__THINGS.__REMOTES["do damage"]:FireServer({{GetPlayer().Character.Humanoid,GUID,random1,GetPlayer().Character.HumanoidRootPart.Position,false,false,false},{false, false, false, false, false, random2, random2}})
  90. end
  91. return old(self, ...)
  92. end)
  93. end
  94. end
  95.  
  96.  
  97. ----------------------------------------------------------------
  98.  
  99. SILENT AIM TEAM BATTLE
  100.  
  101. ----------------------------------------------------------------
  102.  
  103. _G.silentTeam = true
  104. if _G.silentTeam then
  105. if game.Players.LocalPlayer.Team ~= nil then
  106. _G.FFA = false
  107. function GetPlayer() -- gets the closest player
  108. local closestPlayer = nil
  109. local shortestDistance = math.huge
  110. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  111. if v.Name ~= game.Players.LocalPlayer.Name and game.Players.LocalPlayer.Team ~= v.Team then
  112. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and
  113. v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  114. local magnitude = (v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude
  115. if magnitude < shortestDistance then
  116. closestPlayer = v
  117. shortestDistance = magnitude
  118. end
  119. end
  120. end
  121. end
  122. return closestPlayer
  123. end
  124.  
  125. --Locals--
  126. local lib = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"))
  127. local GUID = lib.Functions.GenerateUID()
  128. local random1 = math.random(1, 1)
  129. local random2 = math.random(2, 2)
  130.  
  131.  
  132. --MetaHook----
  133. local mt = getrawmetatable(game)
  134. local old = mt.__namecall
  135. setreadonly(mt, false)
  136. mt.__namecall = newcclosure(function(self, ...)
  137. local arggs = {...}
  138. local namecallmethod = getnamecallmethod()
  139. if namecallmethod == "FireServer" and self.Name == "new projectile" then
  140. arggs[1][1][1] = 1
  141. arggs[1][1][2] = GUID
  142. game.workspace.__THINGS.__REMOTES["do damage"]:FireServer({{GetPlayer().Character.Humanoid,GUID,random1,GetPlayer().Character.HumanoidRootPart.Position,false,false,false},{false, false, false, false, false, random2, random2}})
  143. end
  144. return old(self, ...)
  145. end)
  146. end
  147. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement