Advertisement
irish_ducky420

kill all script zombie lab

Feb 3rd, 2023
1,881
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | Gaming | 0 0
  1.  
  2. for i=2,#game.Players:GetPlayers() do
  3. v=game.Players:GetPlayers()[i]
  4. local args = {
  5. [1] = v.Character:WaitForChild("Humanoid"),
  6. [2] = v.Character:WaitForChild("HumanoidRootPart"),
  7. [3] = math.huge,
  8. }
  9. pcall(function()
  10. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
  11. game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
  12. else
  13. game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
  14. end
  15. end)
  16. end
Advertisement
Comments
  • MrScript2025
    33 days
    # text 8.02 KB | 0 0
    1. local Mod_Menu = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
    2. local Menu = Instance.new("Frame",Mod_Menu)
    3. local localPlayer = game:GetService("Players").LocalPlayer
    4. local Button = Instance.new("TextButton",Mod_Menu)
    5. Button.Text = "Close"
    6. Button.Name = "Close/Open"
    7. Button.Position = UDim2.new(0.092, 0,0.119, 0)
    8. Button.Size = UDim2.new(0, 200,0, 50)
    9. Button.BorderSizePixel = 0
    10. local s = false
    11. Button.MouseButton1Up:Connect(function()
    12. if s == false then
    13. Menu.Visible = false
    14. Button.Text = "Open"
    15. s = true
    16. else
    17. Menu.Visible = true
    18. Button.Text = "Close"
    19. s = false
    20. end
    21. end)
    22. print("Loading")
    23. pcall(function()
    24. print("Done")
    25. local Remotes = game.ReplicatedStorage.Remotes
    26. Menu.Name = "Menu"
    27. Mod_Menu.Name = "Mod Menu"
    28. Menu.BackgroundColor3 = Color3.new(155, 0, 0)
    29. Menu.Size = UDim2.new(0, 607,0, 346)
    30. Menu.Position = UDim2.new(0.252, 0,0.119, 0)
    31. Menu.BorderSizePixel = 0
    32. local ColorButton = Color3.new(255,255,255)
    33. local ButtonSize = UDim2.new(0, 200,0, 50)
    34. local GivemeCure = Instance.new("TextButton",Menu)
    35. GivemeCure.Text = "Give me Cure"
    36. GivemeCure.Name = "Give me Cure"
    37. GivemeCure.BackgroundColor3 = ColorButton
    38. GivemeCure.Size = ButtonSize
    39. GivemeCure.Position = UDim2.new(0, 0,0.162, 0)
    40. GivemeCure.BorderSizePixel = 0
    41. GivemeCure.MouseButton1Up:Connect(function()
    42. Remotes.GiveCure:FireServer();
    43. end)
    44. local GivemeVirus = Instance.new("TextButton",Menu)
    45. GivemeVirus.Text = "Give me Virus"
    46. GivemeVirus.Size = ButtonSize
    47. GivemeVirus.BackgroundColor3 = ColorButton
    48. GivemeVirus.Position = UDim2.new(0, 0,0.344, 0)
    49. GivemeVirus.Name = "Give me Virus"
    50. GivemeVirus.BorderSizePixel = 0
    51. GivemeVirus.MouseButton1Up:Connect(function()
    52. Remotes.GiveVirus:FireServer();
    53. end)
    54. local Damgehigh = Instance.new("TextButton",Menu)
    55. Damgehigh.Text = "Damge high"
    56. Damgehigh.Size = ButtonSize
    57. Damgehigh.BackgroundColor3 = ColorButton
    58. Damgehigh.Name = "Damge high"
    59. Damgehigh.Position = UDim2.new(0, 0,0.52, 0)
    60. Damgehigh.BorderSizePixel = 0
    61. Damgehigh.MouseButton1Up:Connect(function()
    62. require(localPlayer.Backpack:WaitForChild("Pistol"):WaitForChild("Setting")).BaseDamage = 1000
    63. end)
    64. local ESP = Instance.new("TextButton",Menu)
    65. ESP.Name = "ESP"
    66. ESP.BackgroundColor3 = ColorButton
    67. ESP.Size = ButtonSize
    68. ESP.Text = "ESP"
    69. ESP.Position = UDim2.new(0, 0,0.691, 0)
    70. ESP.BorderSizePixel = 0
    71. ESP.MouseButton1Up:Connect(function()
    72. while wait(0.1) do
    73. for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
    74. local TeamColor = v.Team.TeamColor.Color
    75. local R = TeamColor.R
    76. local G = TeamColor.G
    77. local B = TeamColor.B
    78. local Highlight = Instance.new("Highlight",v.Character)
    79. Highlight.FillColor = Color3.new(R,G,B)
    80. Highlight.OutlineColor = Color3.new(R,G,B)
    81. end
    82. game.Players.ChildAdded:Connect(function(v) -- not PlayerAdded only Script
    83. local TeamColor = v.Team.TeamColor.Color
    84. local R = TeamColor.R
    85. local G = TeamColor.G
    86. local B = TeamColor.B
    87. local Highlight = Instance.new("Highlight",v.Character)
    88. Highlight.FillColor = Color3.new(R,G,B)
    89. Highlight.OutlineColor = Color3.new(R,G,B)
    90. end)
    91. end
    92. end)
    93. local KillallZombie = Instance.new("TextButton",Menu)
    94. KillallZombie.Name = "Kill all Zombie"
    95. KillallZombie.Text = 'Kill all Zombie'
    96. KillallZombie.BackgroundColor3 = ColorButton
    97. KillallZombie.Size = ButtonSize
    98. KillallZombie.Position = UDim2.new(0.359, 0,0.162, 0)
    99. KillallZombie.BorderSizePixel = 0
    100. KillallZombie.MouseButton1Up:Connect(function()
    101. for i=2,#game.Players:GetPlayers() do
    102. local v=game.Players:GetPlayers()[i]local args = {
    103. [1] = v.Character:WaitForChild("Humanoid"),
    104. [2] = v.Character:WaitForChild("HumanoidRootPart"),
    105. [3] = math.huge,
    106. }
    107. pcall(function()
    108. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
    109. game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    110. else
    111. game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    112. end
    113. end)
    114. end
    115. end)
    116. local SetWalkSpeed = Instance.new("TextButton",Menu)
    117. SetWalkSpeed.Text = "Set WalkSpeed"
    118. SetWalkSpeed.Name = "Set WalkSpeed"
    119. SetWalkSpeed.BackgroundColor3 = ColorButton
    120. SetWalkSpeed.Size = ButtonSize
    121. SetWalkSpeed.BorderSizePixel = 0
    122. SetWalkSpeed.Position = UDim2.new(0.359, 0,0.344, 0)
    123. local NumberWalkSpeed = Instance.new("TextBox",Menu)
    124. NumberWalkSpeed.Text = "Number WalkSpeed"
    125. NumberWalkSpeed.Name = "Number WalkSpeed"
    126. NumberWalkSpeed.BackgroundColor3 = ColorButton
    127. NumberWalkSpeed.Size = ButtonSize
    128. NumberWalkSpeed.BorderSizePixel = 0
    129. NumberWalkSpeed.Position = UDim2.new(0.359, 0,0.52, 0)
    130. SetWalkSpeed.MouseButton1Up:Connect(function()
    131. local Player = game:GetService("Players")[localPlayer.Name]
    132. Player.Character.Humanoid.WalkSpeed = ""..NumberWalkSpeed.Text
    133. end)
    134. local KillNPCZombie = Instance.new("TextButton",Menu)
    135. KillNPCZombie.Text = "Kill All Zombie NPC"
    136. KillNPCZombie.Name = 'Kill All Zombie NPC'
    137. KillNPCZombie.Size = ButtonSize
    138. KillNPCZombie.BackgroundColor3 = ColorButton
    139. KillNPCZombie.BorderSizePixel = 0
    140. KillNPCZombie.Position = UDim2.new(0.359, 0,0.691, 0)
    141. KillNPCZombie.MouseButton1Up:Connect(function()
    142. for i, v in ipairs(workspace.Zombies:GetChildren()) do
    143. local args = {
    144. [1] = v:WaitForChild("Humanoid"),
    145. [2] = v:WaitForChild("HumanoidRootPart"),
    146. [3] = math.huge,
    147. }
    148.  
    149. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
    150. game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    151. else
    152. game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    153. end
    154.  
    155. end
    156. end)
    157. local NamePlayer = Instance.new("TextBox",Menu)
    158. NamePlayer.Text = "Name Player"
    159. NamePlayer.Size = ButtonSize
    160. NamePlayer.BackgroundColor3 = ColorButton
    161. NamePlayer.BorderSizePixel = 0
    162. NamePlayer.Position = UDim2.new(0.708, 0,0.162, 0)
    163. NamePlayer.Name = "Name Player"
    164. local KillNamePlayer = Instance.new("TextButton",Menu)
    165. KillNamePlayer.Text = "Kill Zombie"
    166. KillNamePlayer.Name = "Kill Zombie"
    167. KillNamePlayer.Size = ButtonSize
    168. KillNamePlayer.BackgroundColor3 = ColorButton
    169. KillNamePlayer.BorderSizePixel = 0
    170. KillNamePlayer.Position = UDim2.new(0.708, 0,0.344, 0)
    171. KillNamePlayer.MouseButton1Up:Connect(function()
    172. print("Killed "..NamePlayer.Text.." Zombie")
    173. local Kill = NamePlayer.Text
    174. local v = game.Players[Kill]
    175. local args = {
    176. [1] = v.Character:WaitForChild("Humanoid"),
    177. [2] = v.Character:WaitForChild("HumanoidRootPart"),
    178. [3] = math.huge,
    179. }
    180.  
    181. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
    182. game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    183. else
    184. game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
    185. end
    186. end)
    187. local MedicalKitnocooldown = Instance.new("TextButton",Menu)
    188. MedicalKitnocooldown.Text = "MedicalKit no cooldown"
    189. MedicalKitnocooldown.Name = "MedicalKit no cooldown"
    190. MedicalKitnocooldown.Size = ButtonSize
    191. MedicalKitnocooldown.BackgroundColor3 = ColorButton
    192. MedicalKitnocooldown.BorderSizePixel = 0
    193. MedicalKitnocooldown.Position = UDim2.new(0.708, 0,0.52, 0)
    194. MedicalKitnocooldown.MouseButton1Up:Connect(function()
    195. workspace.MedicalKit.ProximityPrompt.HoldDuration = 0
    196. end)
    197. local GunnocooldownandAuto = Instance.new("TextButton",Menu)
    198. GunnocooldownandAuto.Size = ButtonSize
    199. GunnocooldownandAuto.Text = "Gun no cooldown and Auto"
    200. GunnocooldownandAuto.Name = "Gun no cooldown and Auto"
    201. GunnocooldownandAuto.BorderSizePixel = 0
    202. GunnocooldownandAuto.Position = UDim2.new(0.708, 0,0.691, 0)
    203. GunnocooldownandAuto.MouseButton1Up:Connect(function()
    204. local Setting = require(localPlayer.Backpack:WaitForChild("Pistol"):WaitForChild("Setting"))
    205. Setting.BulletSpeed = 50
    206. Setting.ShotgunClipinAnimationSpeed = 100
    207. Setting.Auto = true
    208. end)
    209. end)
    210. print("working")
Add Comment
Please, Sign In to add comment
Advertisement