Advertisement
cortesjoren

Zombie Rush Script :D

Oct 30th, 2018
31,663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.93 KB | None | 0 0
  1. local ZR = Instance.new("ScreenGui")
  2. local ZRF = Instance.new("Frame")
  3. local CR = Instance.new("TextLabel")
  4. local CR2 = Instance.new("TextLabel")
  5. local ImageLabel = Instance.new("ImageLabel")
  6. local KA1 = Instance.new("TextButton")
  7. local KA2 = Instance.new("TextButton")
  8. local LEVE = Instance.new("TextButton")
  9. local GPS = Instance.new("TextButton")
  10. local GDA = Instance.new("TextButton")
  11. local UAG = Instance.new("TextButton")
  12. local FB = Instance.new("TextButton")
  13. local CR_2 = Instance.new("TextLabel")
  14. local CR2_2 = Instance.new("TextLabel")
  15. local WS = Instance.new("TextButton")
  16. local JP = Instance.new("TextButton")
  17. local AF2 = Instance.new("TextButton")
  18. local AF1 = Instance.new("TextButton")
  19.  
  20. ZR.Name = "ZR"
  21. ZR.Parent = game.CoreGui
  22.  
  23. ZRF.Name = "ZRF"
  24. ZRF.Parent = ZR
  25. ZRF.BackgroundColor3 = Color3.new(1, 1, 1)
  26. ZRF.Position = UDim2.new(0.284394264, 0, 0.111900531, 0)
  27. ZRF.Size = UDim2.new(0, 317, 0, 373)
  28. ZRF.Style = Enum.FrameStyle.RobloxRound
  29. ZRF.Active = true
  30. ZRF.Draggable = true
  31.  
  32. CR.Name = "CR"
  33. CR.Parent = ZRF
  34. CR.BackgroundColor3 = Color3.new(1, 1, 1)
  35. CR.BackgroundTransparency = 1
  36. CR.Position = UDim2.new(0.0157728717, 0, -0.00729588978, 0)
  37. CR.Size = UDim2.new(0, 291, 0, 28)
  38. CR.Font = Enum.Font.SciFi
  39. CR.Text = "Zombie Rush Gui - By FunTrator"
  40. CR.TextColor3 = Color3.new(0.0117647, 1, 0.12549)
  41. CR.TextSize = 18
  42.  
  43. CR2.Name = "CR2"
  44. CR2.Parent = CR
  45. CR2.BackgroundColor3 = Color3.new(0, 1, 0.14902)
  46. CR2.Position = UDim2.new(-0.000563704409, 0, 0.995450377, 0)
  47. CR2.Size = UDim2.new(0, 296, 0, 1)
  48. CR2.Font = Enum.Font.SourceSans
  49. CR2.Text = ""
  50. CR2.TextColor3 = Color3.new(0, 0, 0)
  51. CR2.TextSize = 14
  52.  
  53. ImageLabel.Parent = CR
  54. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  55. ImageLabel.BackgroundTransparency = 1
  56. ImageLabel.Position = UDim2.new(-0.0446735397, 0, 1, 0)
  57. ImageLabel.Size = UDim2.new(0, 317, 0, 306)
  58. ImageLabel.Image = "rbxassetid://1614557233"
  59. ImageLabel.ScaleType = Enum.ScaleType.Fit
  60.  
  61. KA1.Name = "KA1"
  62. KA1.Parent = ZRF
  63. KA1.BackgroundColor3 = Color3.new(1, 1, 1)
  64. KA1.Position = UDim2.new(0.0189274438, 0, 0.101494282, 0)
  65. KA1.Size = UDim2.new(0, 131, 0, 41)
  66. KA1.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  67. KA1.Font = Enum.Font.SciFi
  68. KA1.Text = "Kill All Zombie [T]"
  69. KA1.TextColor3 = Color3.new(0, 0, 0)
  70. KA1.TextSize = 14
  71. KA1.MouseButton1Down:connect(function()
  72.  
  73. local hotkey = "e" -- hotkey to turn it on or off
  74.  
  75. local working = true
  76. game:GetService('Players').LocalPlayer:GetMouse().KeyDown:connect(function(key)
  77. if key == string.lower(hotkey) then
  78. working = not working
  79. end
  80. end)
  81.  
  82. while wait(0.2) do
  83. if working == true then
  84. pcall(function()
  85. local ohthatscomplicated = {
  86. ["Name"] = game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").Name,
  87. ["HumanoidTables"] = {
  88. }
  89. }
  90. for i,v in pairs(workspace[".ZombieStorage"]:GetChildren()) do
  91. local hm = {
  92. ["HeadHits"] = math.huge,
  93. ["THumanoid"] = v:FindFirstChildOfClass('Humanoid'),
  94. ["BodyHits"] = 0
  95. }
  96. table.insert(ohthatscomplicated["HumanoidTables"],hm)
  97. end
  98. pcall(function()
  99. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunControllerAlt.RemoteFunction:InvokeServer(ohthatscomplicated)
  100. end)
  101. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunController.RemoteFunction:InvokeServer(ohthatscomplicated)
  102. end)
  103. end
  104. end
  105. end)
  106.  
  107. KA2.Name = "KA2"
  108. KA2.Parent = ZRF
  109. KA2.BackgroundColor3 = Color3.new(1, 1, 1)
  110. KA2.Position = UDim2.new(0.520504713, 0, 0.1017638, 0)
  111. KA2.Size = UDim2.new(0, 131, 0, 41)
  112. KA2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  113. KA2.Font = Enum.Font.SciFi
  114. KA2.Text = "Kill All Zombies"
  115. KA2.TextColor3 = Color3.new(0, 0, 0)
  116. KA2.TextSize = 14
  117. KA2.MouseButton1Down:connect(function()
  118. local working = true
  119. game:GetService('Players').LocalPlayer:GetMouse().KeyDown:connect(function(key)
  120. if key == string.lower(hotkey) then
  121. working = not working
  122. end
  123. end)
  124.  
  125. while wait(0.2) do
  126. if working == true then
  127. pcall(function()
  128. local ohthatscomplicated = {
  129. ["Name"] = game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").Name,
  130. ["HumanoidTables"] = {
  131. }
  132. }
  133. for i,v in pairs(workspace[".ZombieStorage"]:GetChildren()) do
  134. local hm = {
  135. ["HeadHits"] = math.huge,
  136. ["THumanoid"] = v:FindFirstChildOfClass('Humanoid'),
  137. ["BodyHits"] = 0
  138. }
  139. table.insert(ohthatscomplicated["HumanoidTables"],hm)
  140. end
  141. pcall(function()
  142. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunControllerAlt.RemoteFunction:InvokeServer(ohthatscomplicated)
  143. end)
  144. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunController.RemoteFunction:InvokeServer(ohthatscomplicated)
  145. end)
  146. end
  147. end
  148. end)
  149.  
  150. LEVE.Name = "LEVE"
  151. LEVE.Parent = ZRF
  152. LEVE.BackgroundColor3 = Color3.new(1, 1, 1)
  153. LEVE.Position = UDim2.new(0.520504713, 0, 0.24771373, 0)
  154. LEVE.Size = UDim2.new(0, 131, 0, 41)
  155. LEVE.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  156. LEVE.Font = Enum.Font.SciFi
  157. LEVE.Text = "Level [9999]"
  158. LEVE.TextColor3 = Color3.new(0, 0, 0)
  159. LEVE.TextSize = 14
  160. LEVE.MouseButton1Down:connect(function()
  161. game.Players.LocalPlayer.leaderstats.Level.Value = 9999
  162. end)
  163.  
  164. GPS.Name = "GPS"
  165. GPS.Parent = ZRF
  166. GPS.BackgroundColor3 = Color3.new(1, 1, 1)
  167. GPS.Position = UDim2.new(0.018927427, 0, 0.24751094, 0)
  168. GPS.Size = UDim2.new(0, 131, 0, 41)
  169. GPS.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  170. GPS.Font = Enum.Font.SciFi
  171. GPS.Text = "GamePasses"
  172. GPS.TextColor3 = Color3.new(0, 0, 0)
  173. GPS.TextSize = 14
  174. GPS.MouseButton1Down:connect(function()
  175. game.Players.LocalPlayer.Purchased.SpeedyZombie.Value = true
  176. game.Players.LocalPlayer.Purchased.GhostZombie.Value = true
  177. game.Players.LocalPlayer.Purchased.MageZombie.Value = true
  178. game.Players.LocalPlayer.Purchased.ToxicZombie.Value = true
  179. game.Players.LocalPlayer.Purchased.LightweightZombie.Value = true
  180. game.Players.LocalPlayer.Purchased.CombatZombie.Value = true
  181. game.Players.LocalPlayer.Purchased.CombustionZombie.Value = true
  182. game.Players.LocalPlayer.Purchased.BoomBox.Value = true
  183. game.Players.LocalPlayer.Purchased.BoomBoxPlus.Value = true
  184. end)
  185.  
  186. GDA.Name = "GDA"
  187. GDA.Parent = ZRF
  188. GDA.BackgroundColor3 = Color3.new(1, 1, 1)
  189. GDA.Position = UDim2.new(0.520504713, 0, 0.376183778, 0)
  190. GDA.Size = UDim2.new(0, 131, 0, 41)
  191. GDA.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  192. GDA.Font = Enum.Font.SciFi
  193. GDA.Text = "God / Freeze All"
  194. GDA.TextColor3 = Color3.new(0, 0, 0)
  195. GDA.TextSize = 14
  196. GDA.MouseButton1Down:connect(function()
  197. local player=game.Players.LocalPlayer.Character
  198. player.Humanoid:Remove()
  199. Instance.new('Humanoid',player)
  200. end)
  201.  
  202. UAG.Name = "UAG"
  203. UAG.Parent = ZRF
  204. UAG.BackgroundColor3 = Color3.new(1, 1, 1)
  205. UAG.Position = UDim2.new(0.520504713, 0, 0.516796887, 0)
  206. UAG.Size = UDim2.new(0, 131, 0, 41)
  207. UAG.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  208. UAG.Font = Enum.Font.SciFi
  209. UAG.Text = "Unlock All Guns"
  210. UAG.TextColor3 = Color3.new(0, 0, 0)
  211. UAG.TextSize = 14
  212. UAG.MouseButton1Down:connect(function()
  213. game.Players.LocalPlayer.leaderstats.Level.Value = 1000000
  214. end)
  215.  
  216. FB.Name = "FB"
  217. FB.Parent = ZRF
  218. FB.BackgroundColor3 = Color3.new(1, 1, 1)
  219. FB.Position = UDim2.new(0.0189274363, 0, 0.513028383, 0)
  220. FB.Size = UDim2.new(0, 131, 0, 41)
  221. FB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  222. FB.Font = Enum.Font.SciFi
  223. FB.Text = "Fly Bypass"
  224. FB.TextColor3 = Color3.new(0, 0, 0)
  225. FB.TextSize = 14
  226. FB.MouseButton1Down:connect(function()
  227. repeat wait()
  228. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  229. local mouse = game.Players.LocalPlayer:GetMouse()
  230. repeat wait() until mouse
  231. local plr = game.Players.LocalPlayer
  232. local chr = plr.Character
  233. local torso = plr.Character.Torso
  234. local flying = true
  235. local deb = true
  236. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  237. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  238. local maxspeed = 50
  239. local speed = 0
  240.  
  241. function Fly()
  242. for i,v in pairs(chr:GetChildren()) do
  243. if v:IsA('BasePart') and v.Name ~= "HumanoidRootPart" then
  244. chr:WaitForChild(v.Name).CollisionGroupId = 99
  245. elseif v:IsA('Accessory') then
  246. for g,c in pairs(v:GetChildren()) do
  247. if c:IsA('BasePart') then
  248. c.CollisionGroupId = 99
  249. end
  250. end
  251. end
  252. end
  253. local bg = Instance.new("BodyGyro", torso)
  254. bg.P = 9e4
  255. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  256. bg.cframe = torso.CFrame
  257. local bv = Instance.new("BodyVelocity", torso)
  258. bv.velocity = Vector3.new(0,0.1,0)
  259. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  260. repeat wait()
  261. plr.Character.Humanoid.PlatformStand = true
  262. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  263. speed = speed+.5+(speed/maxspeed)
  264. if speed > maxspeed then
  265. speed = maxspeed
  266. end
  267. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  268. speed = speed-1
  269. if speed < 0 then
  270. speed = 0
  271. end
  272. end
  273. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  274. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  275. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  276. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  277. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  278. else
  279. bv.velocity = Vector3.new(0,0.1,0)
  280. end
  281. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  282. until not flying
  283. ctrl = {f = 0, b = 0, l = 0, r = 0}
  284. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  285. speed = 0
  286. bg:Destroy()
  287. bv:Destroy()
  288. plr.Character.Humanoid.PlatformStand = false
  289. for i,v in pairs(chr:GetChildren()) do
  290. if v:IsA('BasePart') and v.Name ~= "HumanoidRootPart" then
  291. chr:WaitForChild(v.Name).CollisionGroupId = 0
  292. elseif v:IsA('Accessory') then
  293. for g,c in pairs(v:GetChildren()) do
  294. if c:IsA('BasePart') then
  295. c.CollisionGroupId = 0
  296. end
  297. end
  298. end
  299. end
  300. end
  301. mouse.KeyDown:connect(function(key)
  302. if key:lower() == "e" then
  303. if flying then flying = false
  304. else
  305. flying = true
  306. Fly()
  307. end
  308. elseif key:lower() == "w" then
  309. ctrl.f = 1
  310. elseif key:lower() == "s" then
  311. ctrl.b = -1
  312. elseif key:lower() == "a" then
  313. ctrl.l = -1
  314. elseif key:lower() == "d" then
  315. ctrl.r = 1
  316. end
  317. end)
  318. mouse.KeyUp:connect(function(key)
  319. if key:lower() == "w" then
  320. ctrl.f = 0
  321. elseif key:lower() == "s" then
  322. ctrl.b = 0
  323. elseif key:lower() == "a" then
  324. ctrl.l = 0
  325. elseif key:lower() == "d" then
  326. ctrl.r = 0
  327. end
  328. end)
  329. Fly()
  330. end)
  331.  
  332. CR_2.Name = "CR"
  333. CR_2.Parent = ZRF
  334. CR_2.BackgroundColor3 = Color3.new(1, 1, 1)
  335. CR_2.BackgroundTransparency = 1
  336. CR_2.Position = UDim2.new(0.0157728717, 0, 0.928450584, 0)
  337. CR_2.Size = UDim2.new(0, 291, 0, 28)
  338. CR_2.Font = Enum.Font.SciFi
  339. CR_2.Text = "DISCORD . IO / SomeoneShark"
  340. CR_2.TextColor3 = Color3.new(0.0117647, 1, 0.12549)
  341. CR_2.TextSize = 18
  342.  
  343. CR2_2.Name = "CR2"
  344. CR2_2.Parent = CR_2
  345. CR2_2.BackgroundColor3 = Color3.new(0, 1, 0.14902)
  346. CR2_2.Position = UDim2.new(-0.000563704409, 0, 0.995450377, 0)
  347. CR2_2.Size = UDim2.new(0, 296, 0, 1)
  348. CR2_2.Font = Enum.Font.SourceSans
  349. CR2_2.Text = ""
  350. CR2_2.TextColor3 = Color3.new(0, 0, 0)
  351. CR2_2.TextSize = 14
  352.  
  353. WS.Name = "WS"
  354. WS.Parent = ZRF
  355. WS.BackgroundColor3 = Color3.new(1, 1, 1)
  356. WS.Position = UDim2.new(0.0189274363, 0, 0.657298088, 0)
  357. WS.Size = UDim2.new(0, 131, 0, 41)
  358. WS.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  359. WS.Font = Enum.Font.SciFi
  360. WS.Text = "Walkspeed"
  361. WS.TextColor3 = Color3.new(0, 0, 0)
  362. WS.TextSize = 14
  363. WS.MouseButton1Down:connect(function()
  364. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 200
  365. end)
  366.  
  367. JP.Name = "JP"
  368. JP.Parent = ZRF
  369. JP.BackgroundColor3 = Color3.new(1, 1, 1)
  370. JP.Position = UDim2.new(0.520504713, 0, 0.662256956, 0)
  371. JP.Size = UDim2.new(0, 131, 0, 41)
  372. JP.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  373. JP.Font = Enum.Font.SciFi
  374. JP.Text = "JumpPower"
  375. JP.TextColor3 = Color3.new(0, 0, 0)
  376. JP.TextSize = 14
  377. JP.MouseButton1Down:connect(function()
  378. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 300
  379. end)
  380.  
  381. AF2.Name = "AF2"
  382. AF2.Parent = ZRF
  383. AF2.BackgroundColor3 = Color3.new(1, 1, 1)
  384. AF2.Position = UDim2.new(0.520504713, 0, 0.807029068, 0)
  385. AF2.Size = UDim2.new(0, 131, 0, 41)
  386. AF2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  387. AF2.Font = Enum.Font.SciFi
  388. AF2.Text = "Auto Farm 2 [EquipWep]"
  389. AF2.TextColor3 = Color3.new(0, 0, 0)
  390. AF2.TextSize = 11
  391. AF2.MouseButton1Down:connect(function()
  392. local plr = game:GetService("Players").LocalPlayer local killEmAll = plr.Character[plr.EquipStorage.Primary.Value].GunController.RemoteFunction
  393. for _,v in next, workspace[".ZombieStorage"]:GetChildren() do
  394. local Table = {["Name"] = plr.EquipStorage.Primary.Value, ["HumanoidTables"] = {[1] = {["HeadHits"] = 500000000,["THumanoid"] = v.Humanoid, ["BodyHits"] = 500000000}}}
  395. killEmAll:InvokeServer(Table)
  396. end
  397. end)
  398.  
  399. AF1.Name = "AF1"
  400. AF1.Parent = ZRF
  401. AF1.BackgroundColor3 = Color3.new(1, 1, 1)
  402. AF1.Position = UDim2.new(0.0220820121, 0, 0.807029068, 0)
  403. AF1.Size = UDim2.new(0, 131, 0, 41)
  404. AF1.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  405. AF1.Font = Enum.Font.SciFi
  406. AF1.Text = "Auto Farm [Equip Wep]"
  407. AF1.TextColor3 = Color3.new(0, 0, 0)
  408. AF1.TextSize = 12
  409. AF1.MouseButton1Down:connect(function()
  410. local plr = game:GetService("Players").LocalPlayer local killEmAll = plr.Character[plr.EquipStorage.Primary.Value].GunController.RemoteFunction
  411. for _,v in next, workspace[".ZombieStorage"]:GetChildren() do
  412. local Table = {["Name"] = plr.EquipStorage.Primary.Value, ["HumanoidTables"] = {[1] = {["HeadHits"] = 500000000,["THumanoid"] = v.Humanoid, ["BodyHits"] = 500000000}}}
  413. killEmAll:InvokeServer(Table)
  414. end
  415. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement