Advertisement
cortesjoren

Zombie HUnter Script

Oct 30th, 2018
1,364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. --]]
  2. plr = game:GetService('Players').LocalPlayer
  3. B1 = 0
  4. B2 = 0
  5. B3 = 0
  6. B4 = 0
  7. local ScreenGui = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local Frame_3 = Instance.new("Frame")
  11. local GuiCredit = Instance.new("TextLabel")
  12. local ScriptCredit = Instance.new("TextLabel")
  13. local GameName = Instance.new("TextLabel")
  14. local Button1 = Instance.new("TextButton")
  15. local Button2 = Instance.new("TextButton")
  16. local Button3 = Instance.new("TextButton")
  17. local Light2 = Instance.new("TextLabel")
  18. local Button4 = Instance.new("TextButton")
  19. local Light4 = Instance.new("TextLabel")
  20. local Light1 = Instance.new("TextLabel")
  21. local Light3 = Instance.new("TextLabel")
  22. ScreenGui.Parent = game.CoreGui
  23. Frame.Parent = ScreenGui
  24. Frame.Active = true
  25. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  26. Frame.BackgroundTransparency = 0.44999998807907
  27. Frame.BorderSizePixel = 0
  28. Frame.LayoutOrder = 1
  29. Frame.Position = UDim2.new(0, 510, 0, 204)
  30. Frame.Selectable = true
  31. Frame.Size = UDim2.new(0, 394, 0, 223)
  32. Frame.Draggable = true
  33. Frame_2.Parent = Frame
  34. Frame_2.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  35. Frame_2.BackgroundTransparency = 0.5
  36. Frame_2.BorderSizePixel = 0
  37. Frame_2.Position = UDim2.new(0, 0, 1, 0)
  38. Frame_2.Size = UDim2.new(0, 402, 0, 8)
  39. Frame_3.Parent = Frame
  40. Frame_3.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  41. Frame_3.BackgroundTransparency = 0.5
  42. Frame_3.BorderSizePixel = 0
  43. Frame_3.Position = UDim2.new(1, 0, 0, 0)
  44. Frame_3.Size = UDim2.new(0, 8, 0, 223)
  45. Button1.TextWrapped = true
  46. Button2.TextWrapped = true
  47. Button3.TextWrapped = true
  48. Button4.TextWrapped = true
  49. GuiCredit.Name = "GuiCredit"
  50. GuiCredit.Parent = Frame
  51. GuiCredit.BackgroundColor3 = Color3.new(1, 1, 1)
  52. GuiCredit.BackgroundTransparency = 1
  53. GuiCredit.Position = UDim2.new(0, 0, 0.905829608, 0)
  54. GuiCredit.Size = UDim2.new(0, 194, 0, 21)
  55. GuiCredit.Font = Enum.Font.SourceSans
  56. GuiCredit.TextColor3 = Color3.new(0, 0, 0)
  57. GuiCredit.TextSize = 16
  58. ScriptCredit.Name = "ScriptCredit"
  59. ScriptCredit.Parent = Frame
  60. ScriptCredit.BackgroundColor3 = Color3.new(1, 1, 1)
  61. ScriptCredit.BackgroundTransparency = 1
  62. ScriptCredit.Position = UDim2.new(0, 194, 0, 202)
  63. ScriptCredit.Size = UDim2.new(0, 208, 0, 21)
  64. ScriptCredit.Font = Enum.Font.SourceSans
  65. ScriptCredit.TextColor3 = Color3.new(0, 0, 0)
  66. ScriptCredit.TextSize = 16
  67. ScriptCredit.TextWrapped = true
  68. GameName.Name = "GameName"
  69. GameName.Parent = Frame
  70. GameName.BackgroundColor3 = Color3.new(1, 1, 1)
  71. GameName.BackgroundTransparency = 1
  72. GameName.BorderSizePixel = 0
  73. GameName.Size = UDim2.new(0, 394, 0, 21)
  74. GameName.Font = Enum.Font.SourceSans
  75. GameName.TextColor3 = Color3.new(0, 0, 0)
  76. GameName.TextSize = 16
  77. Button1.Name = "Button1"
  78. Button1.Parent = Frame
  79. Button1.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  80. Button1.BackgroundTransparency = 0.40000000596046
  81. Button1.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  82. Button1.BorderSizePixel = 0
  83. Button1.Position = UDim2.new(0, 23, 0, 49)
  84. Button1.Size = UDim2.new(0, 149, 0, 45)
  85. Button1.Font = Enum.Font.SourceSans
  86. Button1.Text = ""
  87. Button1.TextColor3 = Color3.new(0, 0, 0)
  88. Button1.TextSize = 14
  89. Button2.Name = "Button2"
  90. Button2.Parent = Frame
  91. Button2.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  92. Button2.BackgroundTransparency = 0.40000000596046
  93. Button2.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  94. Button2.BorderSizePixel = 0
  95. Button2.Position = UDim2.new(0, 23, 0, 127)
  96. Button2.Size = UDim2.new(0, 149, 0, 46)
  97. Button2.Font = Enum.Font.SourceSans
  98. Button2.Text = ""
  99. Button2.TextColor3 = Color3.new(0, 0, 0)
  100. Button2.TextSize = 14
  101. Button3.Name = "Button3"
  102. Button3.Parent = Frame
  103. Button3.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  104. Button3.BackgroundTransparency = 0.40000000596046
  105. Button3.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  106. Button3.BorderSizePixel = 0
  107. Button3.Position = UDim2.new(0, 223, 0, 49)
  108. Button3.Size = UDim2.new(0, 149, 0, 45)
  109. Button3.Font = Enum.Font.SourceSans
  110. Button3.Text = ""
  111. Button3.TextColor3 = Color3.new(0, 0, 0)
  112. Button3.TextSize = 14
  113. Light2.Name = "Light2"
  114. Light2.Parent = Frame
  115. Light2.BackgroundColor3 = Color3.new(0, 0, 0)
  116. Light2.BorderSizePixel = 0
  117. Light2.Position = UDim2.new(0, 162, 0, 127)
  118. Light2.Size = UDim2.new(0, 10, 0, 10)
  119. Light2.Font = Enum.Font.SourceSans
  120. Light2.Text = ""
  121. Light2.TextColor3 = Color3.new(0, 0, 0)
  122. Light2.TextSize = 14
  123. Button4.Name = "Button4"
  124. Button4.Parent = Frame
  125. Button4.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  126. Button4.BackgroundTransparency = 0.40000000596046
  127. Button4.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  128. Button4.BorderSizePixel = 0
  129. Button4.Position = UDim2.new(0, 223, 0, 127)
  130. Button4.Size = UDim2.new(0, 149, 0, 46)
  131. Button4.Font = Enum.Font.SourceSans
  132. Button4.Text = ""
  133. Button4.TextColor3 = Color3.new(0, 0, 0)
  134. Button4.TextSize = 14
  135. Light4.Name = "Light4"
  136. Light4.Parent = Frame
  137. Light4.BackgroundColor3 = Color3.new(0, 0, 0)
  138. Light4.BorderSizePixel = 0
  139. Light4.Position = UDim2.new(0, 362, 0, 127)
  140. Light4.Size = UDim2.new(0, 10, 0, 10)
  141. Light4.Font = Enum.Font.SourceSans
  142. Light4.Text = ""
  143. Light4.TextColor3 = Color3.new(0, 0, 0)
  144. Light4.TextSize = 14
  145. Light1.Name = "Light1"
  146. Light1.Parent = Frame
  147. Light1.BackgroundColor3 = Color3.new(0, 0, 0)
  148. Light1.BorderSizePixel = 0
  149. Light1.Position = UDim2.new(0, 162, 0, 49)
  150. Light1.Size = UDim2.new(0, 10, 0, 10)
  151. Light1.Font = Enum.Font.SourceSans
  152. Light1.Text = ""
  153. Light1.TextColor3 = Color3.new(0, 0, 0)
  154. Light1.TextSize = 14
  155. Light3.Name = "Light3"
  156. Light3.Parent = Frame
  157. Light3.BackgroundColor3 = Color3.new(0, 0, 0)
  158. Light3.BorderSizePixel = 0
  159. Light3.Position = UDim2.new(0, 362, 0, 49)
  160. Light3.Size = UDim2.new(0, 10, 0, 10)
  161. Light3.Font = Enum.Font.SourceSans
  162. Light3.Text = ""
  163. Light3.TextColor3 = Color3.new(0, 0, 0)
  164. Light3.TextSize = 14
  165. -------------------------------
  166. GuiCredit.Text = "Gui ~ brianops16"
  167. ScriptCredit.Text = "Script ~ brianops16"-- credit yourself here if you made the script
  168. GameName.Text = "Zombie Hunter"--Enter the game name you are exploiting
  169. -------------------------------
  170. Button1.Text = "Kill all zombies"
  171.  
  172. Button2.Text = ""
  173.  
  174. Button3.Text = ""
  175.  
  176. Button4.Text = ""
  177. --------------------------------
  178.  
  179. Button1.MouseButton1Click:connect(function()
  180. if B1 == 0 then
  181. B1 = 1
  182. Light1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  183. while B1 == 1 do
  184. game:GetService('RunService').Stepped:wait()
  185. for i,enemy in pairs(game.Workspace:GetChildren()) do
  186. local check = enemy:FindFirstChild("Zombie")
  187. if check ~= nil and B1 == 1 then
  188. game:GetService('RunService').Stepped:wait()
  189. local A_1 =
  190.  
  191. {
  192. ["Name"] = "Bullet"
  193. }
  194. local A_2 = enemy.Torso
  195. local A_3 = 1000
  196. local Event = game:GetService("ReplicatedStorage").Remote.Event.BulletHit
  197. Event:FireServer(A_1, A_2, A_3)
  198. end
  199. end
  200. end
  201. elseif B1 == 1 then
  202. B1 = 0
  203. Light1.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  204. end
  205. end)
  206.  
  207. Button2.MouseButton1Click:connect(function()
  208. if B2 == 0 then
  209. B2 = 1
  210. Light2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  211. while B2 == 1 do
  212. game:GetService('RunService').Stepped:wait()
  213. --code
  214. end
  215. elseif B2 == 1 then
  216. B2 = 0
  217. Light2.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  218. end
  219. end)
  220. Button3.MouseButton1Click:connect(function()
  221. if B3 == 0 then
  222. B3 = 1
  223. Light3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  224. while B3 == 1 do
  225. game:GetService('RunService').Stepped:wait()
  226. --code
  227. end
  228. elseif B3 == 1 then
  229. B3 = 0
  230. Light3.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  231. end
  232. end)
  233. Button4.MouseButton1Click:connect(function()
  234. if B4 == 0 then
  235. B4 = 1
  236. Light4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  237. while B4 == 1 do
  238. game:GetService('RunService').Stepped:wait()
  239. --code
  240. end
  241. elseif B4 == 1 then
  242. B4 = 0
  243. Light4.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  244. end
  245. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement