SHARE
TWEET

Zombie Rush GUI

YandZ1 Oct 14th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Screw my damn teacher for giving me homework!
  2.  
  3. function sandbox(var,func)
  4.     local env = getfenv(func)
  5.     local newenv = setmetatable({},{
  6.         __index = function(self,k)
  7.             if k=="script" then
  8.                 return var
  9.             else
  10.                 return env[k]
  11.             end
  12.         end,
  13.     })
  14.     setfenv(func,newenv)
  15.     return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ScreenGui0 = Instance.new("ScreenGui")
  20. Frame1 = Instance.new("Frame")
  21. TextLabel2 = Instance.new("TextLabel")
  22. TextButton3 = Instance.new("TextButton")
  23. LocalScript4 = Instance.new("LocalScript")
  24. TextButton5 = Instance.new("TextButton")
  25. LocalScript6 = Instance.new("LocalScript")
  26. TextButton7 = Instance.new("TextButton")
  27. LocalScript8 = Instance.new("LocalScript")
  28. TextButton9 = Instance.new("TextButton")
  29. LocalScript10 = Instance.new("LocalScript")
  30. TextButton11 = Instance.new("TextButton")
  31. LocalScript12 = Instance.new("LocalScript")
  32. ScreenGui0.Parent = mas
  33. Frame1.Parent = ScreenGui0
  34. Frame1.Position = UDim2.new(0.65791446, 0, 0.578881979, 0)
  35. Frame1.Size = UDim2.new(0, 432, 0, 323)
  36. Frame1.BackgroundColor = BrickColor.new("Institutional white")
  37. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Frame1.Style = Enum.FrameStyle.RobloxSquare
  39. TextLabel2.Parent = Frame1
  40. TextLabel2.Position = UDim2.new(0.00231481483, 0, 0.0216718167, 0)
  41. TextLabel2.Transparency = 0
  42. TextLabel2.Size = UDim2.new(0, 199, 0, 48)
  43. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  44. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  45. TextLabel2.BackgroundTransparency = 1
  46. TextLabel2.Font = Enum.Font.SourceSans
  47. TextLabel2.FontSize = Enum.FontSize.Size14
  48. TextLabel2.Text = "Zombie Rush GUI"
  49. TextLabel2.TextColor = BrickColor.new("Institutional white")
  50. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  51. TextLabel2.TextScaled = true
  52. TextLabel2.TextSize = 14
  53. TextLabel2.TextWrap = true
  54. TextLabel2.TextWrapped = true
  55. TextButton3.Parent = Frame1
  56. TextButton3.Position = UDim2.new(0.0162037052, 0, 0.219814241, 0)
  57. TextButton3.Size = UDim2.new(0, 140, 0, 50)
  58. TextButton3.BackgroundColor = BrickColor.new("Institutional white")
  59. TextButton3.BackgroundColor3 = Color3.new(1, 1, 1)
  60. TextButton3.Style = Enum.ButtonStyle.RobloxRoundButton
  61. TextButton3.Font = Enum.Font.Arial
  62. TextButton3.FontSize = Enum.FontSize.Size14
  63. TextButton3.Text = "Pls give lvls"
  64. TextButton3.TextColor = BrickColor.new("Really black")
  65. TextButton3.TextColor3 = Color3.new(0, 0, 0)
  66. TextButton3.TextSize = 14
  67. LocalScript4.Parent = TextButton3
  68. table.insert(cors,sandbox(LocalScript4,function()
  69. buttonisass = script.Parent
  70.  
  71. function clicked()
  72.     Game.Players.LocalPlayer.leaderstats.Level.Value = 999999
  73. end
  74.  
  75. buttonisass.MouseButton1Down:connect(clicked)
  76. end))
  77. TextButton5.Parent = Frame1
  78. TextButton5.Position = UDim2.new(0.0162037052, 0, 0.408668727, 0)
  79. TextButton5.Size = UDim2.new(0, 140, 0, 50)
  80. TextButton5.BackgroundColor = BrickColor.new("Institutional white")
  81. TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
  82. TextButton5.Style = Enum.ButtonStyle.RobloxRoundButton
  83. TextButton5.Font = Enum.Font.Arial
  84. TextButton5.FontSize = Enum.FontSize.Size14
  85. TextButton5.Text = "Freeze Zombies"
  86. TextButton5.TextColor = BrickColor.new("Really black")
  87. TextButton5.TextColor3 = Color3.new(0, 0, 0)
  88. TextButton5.TextSize = 14
  89. LocalScript6.Parent = TextButton5
  90. table.insert(cors,sandbox(LocalScript6,function()
  91. buttonisass = script.Parent
  92.  
  93. function clicked()
  94.     local player=game.Players.LocalPlayer.Character
  95. player.Humanoid:Remove()
  96. Instance.new('Humanoid',player)
  97. end
  98.  
  99. buttonisass.MouseButton1Down:connect(clicked)
  100. end))
  101. TextButton7.Parent = Frame1
  102. TextButton7.Position = UDim2.new(0.0162037052, 0, 0.61609906, 0)
  103. TextButton7.Size = UDim2.new(0, 140, 0, 50)
  104. TextButton7.BackgroundColor = BrickColor.new("Institutional white")
  105. TextButton7.BackgroundColor3 = Color3.new(1, 1, 1)
  106. TextButton7.Style = Enum.ButtonStyle.RobloxRoundButton
  107. TextButton7.Font = Enum.Font.Arial
  108. TextButton7.FontSize = Enum.FontSize.Size14
  109. TextButton7.Text = "gamepasses"
  110. TextButton7.TextColor = BrickColor.new("Really black")
  111. TextButton7.TextColor3 = Color3.new(0, 0, 0)
  112. TextButton7.TextSize = 14
  113. LocalScript8.Parent = TextButton7
  114. table.insert(cors,sandbox(LocalScript8,function()
  115. buttonisass = script.Parent
  116.  
  117. function clicked()
  118. Game.Players.LocalPlayer.Purchased.SpeedyZombie.Value = true
  119. Game.Players.LocalPlayer.Purchased.GhostZombie.Value = true
  120. Game.Players.LocalPlayer.Purchased.MageZombie.Value = true
  121. Game.Players.LocalPlayer.Purchased.ToxicZombie.Value = true
  122. Game.Players.LocalPlayer.Purchased.LightweightZombie.Value = true
  123. Game.Players.LocalPlayer.Purchased.CombatZombie.Value = true
  124. Game.Players.LocalPlayer.Purchased.CombustionZombie.Value = true
  125. Game.Players.LocalPlayer.Purchased.BoomBox.Value = true
  126. Game.Players.LocalPlayer.Purchased.BoomBoxPlus.Value = true
  127. end
  128.  
  129. buttonisass.MouseButton1Down:connect(clicked)
  130. end))
  131. TextButton9.Name = "ok"
  132. TextButton9.Parent = Frame1
  133. TextButton9.Position = UDim2.new(0.381944448, 0, 0.229102165, 0)
  134. TextButton9.Size = UDim2.new(0, 140, 0, 50)
  135. TextButton9.BackgroundColor = BrickColor.new("Institutional white")
  136. TextButton9.BackgroundColor3 = Color3.new(1, 1, 1)
  137. TextButton9.Style = Enum.ButtonStyle.RobloxRoundButton
  138. TextButton9.Font = Enum.Font.Arial
  139. TextButton9.FontSize = Enum.FontSize.Size14
  140. TextButton9.Text = "Kill ZOMBIES"
  141. TextButton9.TextColor = BrickColor.new("Really black")
  142. TextButton9.TextColor3 = Color3.new(0, 0, 0)
  143. TextButton9.TextSize = 14
  144. LocalScript10.Parent = TextButton9
  145. table.insert(cors,sandbox(LocalScript10,function()
  146. buttonisass = script.Parent
  147.  
  148. function clicked()
  149.     print("gay")
  150. pcall(function()
  151. local ohthatscomplicated = {
  152.    ["Name"] = game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").Name,
  153.    ["HumanoidTables"] = {
  154.    }
  155. }
  156. for i,v in pairs(workspace[".ZombieStorage"]:GetChildren()) do
  157.    local hm = {
  158.        ["HeadHits"] = math.huge,
  159.        ["THumanoid"] = v:FindFirstChildOfClass('Humanoid'),
  160.        ["BodyHits"] = 0
  161.    }
  162.    table.insert(ohthatscomplicated["HumanoidTables"],hm)
  163. end
  164. pcall(function()
  165. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunControllerAlt.RemoteFunction:InvokeServer(ohthatscomplicated)
  166. end)
  167. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunController.RemoteFunction:InvokeServer(ohthatscomplicated)
  168. end)
  169. end
  170.  
  171.  
  172.  
  173. buttonisass.MouseButton1Down:connect(clicked)
  174. end))
  175. TextButton11.Name = "lolol"
  176. TextButton11.Parent = Frame1
  177. TextButton11.Position = UDim2.new(0.381944448, 0, 0.408668727, 0)
  178. TextButton11.Size = UDim2.new(0, 140, 0, 50)
  179. TextButton11.BackgroundColor = BrickColor.new("Institutional white")
  180. TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
  181. TextButton11.Style = Enum.ButtonStyle.RobloxRoundButton
  182. TextButton11.Font = Enum.Font.Arial
  183. TextButton11.FontSize = Enum.FontSize.Size14
  184. TextButton11.Text = "ok nvm"
  185. TextButton11.TextColor = BrickColor.new("Really black")
  186. TextButton11.TextColor3 = Color3.new(0, 0, 0)
  187. TextButton11.TextSize = 14
  188. LocalScript12.Parent = TextButton11
  189. table.insert(cors,sandbox(LocalScript12,function()
  190. buttonisass = script.Parent
  191.  
  192. function clicked()
  193. print("in dev ok")
  194. end
  195.  
  196.  
  197. buttonisass.MouseButton1Down:connect(clicked)
  198. end))
  199. for i,v in pairs(mas:GetChildren()) do
  200.     v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  201.     pcall(function() v:MakeJoints() end)
  202. end
  203. mas:Destroy()
  204. for i,v in pairs(cors) do
  205.     spawn(function()
  206.         pcall(v)
  207.     end)
  208. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top