Advertisement
iiGotDeportedToday

ApocZ Apocalypse Rising GUI

Mar 3rd, 2020
26,979
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.02 KB | None | 0 0
  1. -- Instances:
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local ApocZ = Instance.new("TextLabel")
  6. local God = Instance.new("TextButton")
  7. local Walkspeed = Instance.new("TextButton")
  8. local ESP = Instance.new("TextButton")
  9. local Goto = Instance.new("TextButton")
  10. local BringCar = Instance.new("TextButton")
  11. local TextBox = Instance.new("TextBox")
  12. local Close = Instance.new("TextButton")
  13. local Spam = Instance.new("TextButton")
  14. local Frame2 = Instance.new("Frame")
  15. local Open = Instance.new("TextButton")
  16.  
  17. --Properties:
  18. Frame2.Visible = false
  19.  
  20. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23. Frame.Parent = ScreenGui
  24. Frame.Active = true
  25. Frame.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
  26. Frame.Draggable = true
  27. Frame.Position = UDim2.new(0.211048156, 2, 0.304740399, -1)
  28. Frame.Size = UDim2.new(0, 408, 0, 200)
  29. Frame.Active = true
  30. Frame.Draggable = true
  31.  
  32. ApocZ.Name = "ApocZ"
  33. ApocZ.Parent = Frame
  34. ApocZ.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  35. ApocZ.BackgroundTransparency = 1.000
  36. ApocZ.BorderSizePixel = 0
  37. ApocZ.Size = UDim2.new(0, 408, 0, 27)
  38. ApocZ.Font = Enum.Font.GothamBlack
  39. ApocZ.Text = "ApocZ"
  40. ApocZ.TextColor3 = Color3.fromRGB(173, 31, 45)
  41. ApocZ.TextSize = 20.000
  42.  
  43. God.Name = "God"
  44. God.Parent = Frame
  45. God.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  46. God.Position = UDim2.new(0.0441176482, 0, 0.25454545, 0)
  47. God.Size = UDim2.new(0, 85, 0, 19)
  48. God.Font = Enum.Font.GothamBlack
  49. God.Text = "Kills"
  50. God.TextColor3 = Color3.fromRGB(0, 0, 0)
  51. God.TextSize = 14.000
  52. God.MouseButton1Down:connect(function()
  53.     game.Players.LocalPlayer.playerstats.PlayerKill.Defensive.Value = TextBox.Text
  54. end)
  55.  
  56. Walkspeed.Name = "Walkspeed"
  57. Walkspeed.Parent = Frame
  58. Walkspeed.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  59. Walkspeed.Position = UDim2.new(0.747548997, 0, 0.514545381, 0)
  60. Walkspeed.Size = UDim2.new(0, 85, 0, 19)
  61. Walkspeed.Font = Enum.Font.GothamBlack
  62. Walkspeed.Text = "Vitals"
  63. Walkspeed.TextColor3 = Color3.fromRGB(0, 0, 0)
  64. Walkspeed.TextScaled = true
  65. Walkspeed.TextSize = 14.000
  66. Walkspeed.TextWrapped = true
  67. Walkspeed.MouseButton1Down:connect(function()
  68.     game.Players.LocalPlayer.playerstats.Hunger.Value = 1000000000
  69.     game.Players.LocalPlayer.playerstats.Thirst.Value = 1000000000
  70. end)
  71.  
  72. ESP.Name = "ESP"
  73. ESP.Parent = Frame
  74. ESP.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  75. ESP.Position = UDim2.new(0.0441176482, 0, 0.514545441, 0)
  76. ESP.Size = UDim2.new(0, 85, 0, 19)
  77. ESP.Font = Enum.Font.GothamBlack
  78. ESP.Text = "Stamina"
  79. ESP.TextColor3 = Color3.fromRGB(0, 0, 0)
  80. ESP.TextSize = 14.000
  81. ESP.MouseButton1Down:connect(function()
  82.     while(1+1==2) do
  83.             wait(2.5)
  84.         game.Players.LocalPlayer.Backpack.GlobalFunctions.Stamina.Value = 100
  85.     end
  86.    
  87. end)
  88.  
  89. Goto.Name = "Goto"
  90. Goto.Parent = Frame
  91. Goto.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  92. Goto.Position = UDim2.new(0.394607842, 0, 0.25454545, 0)
  93. Goto.Size = UDim2.new(0, 85, 0, 19)
  94. Goto.Font = Enum.Font.GothamBlack
  95. Goto.Text = "Zombies"
  96. Goto.TextColor3 = Color3.fromRGB(0, 0, 0)
  97. Goto.TextSize = 14.000
  98. Goto.MouseButton1Down:connect(function()
  99.     game.Players.LocalPlayer.playerstats.ZombieKill.Military.Value = TextBox.Text
  100. end)
  101.  
  102. BringCar.Name = "BringCar"
  103. BringCar.Parent = Frame
  104. BringCar.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  105. BringCar.Position = UDim2.new(0.747548997, 0, 0.25454545, 0)
  106. BringCar.Size = UDim2.new(0, 85, 0, 19)
  107. BringCar.Font = Enum.Font.GothamBlack
  108. BringCar.Text = "Days"
  109. BringCar.TextColor3 = Color3.fromRGB(0, 0, 0)
  110. BringCar.TextSize = 14.000
  111. BringCar.MouseButton1Down:connect(function()
  112.     game.Players.LocalPlayer.playerstats.Days.Value = TextBox.Text
  113. end)
  114.  
  115. TextBox.Parent = Frame
  116. TextBox.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  117. TextBox.Position = UDim2.new(0.0441176482, 0, 0.723636389, 0)
  118. TextBox.Size = UDim2.new(0, 372, 0, 25)
  119. TextBox.Font = Enum.Font.SourceSans
  120. TextBox.Text = ""
  121. TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  122. TextBox.TextSize = 14.000
  123.  
  124. Close.Name = "Close"
  125. Close.Parent = Frame
  126. Close.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  127. Close.BorderSizePixel = 0
  128. Close.Position = UDim2.new(0.921568632, 0, 0, 0)
  129. Close.Size = UDim2.new(0, 32, 0, 27)
  130. Close.Font = Enum.Font.GothamBlack
  131. Close.Text = "X"
  132. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  133. Close.TextScaled = true
  134. Close.TextSize = 14.000
  135. Close.TextWrapped = true
  136. Close.MouseButton1Down:connect(function()
  137.     Frame.Visible = false
  138.     Frame2.Visible = true
  139. end)
  140.  
  141. Spam.Name = "Spam"
  142. Spam.Parent = Frame
  143. Spam.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
  144. Spam.Position = UDim2.new(0.395000011, 0, 0.514999986, 0)
  145. Spam.Size = UDim2.new(0, 85, 0, 19)
  146. Spam.Font = Enum.Font.GothamBold
  147. Spam.Text = "Kick All Groups"
  148. Spam.TextColor3 = Color3.fromRGB(0, 0, 0)
  149. Spam.TextSize = 14.000
  150. Spam.TextScaled = true
  151. Spam.MouseButton1Down:connect(function()
  152.     for _, v in pairs(game.Lighting.Groups:GetChildren()) do
  153.         if v.Name ~= ("GlobalGroups") then
  154.             for _, p in pairs(game.Players:GetPlayers()) do
  155.                 game.Workspace.Remote.GroupKick:FireServer(v,p)
  156.             end
  157.         end
  158.     end
  159. end)
  160.  
  161. Frame2.Name = "Frame2"
  162. Frame2.Parent = ScreenGui
  163. Frame2.Active = true
  164. Frame2.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
  165. Frame2.BorderSizePixel = 0
  166. Frame2.Position = UDim2.new(0, 0, 0.510158002, 0)
  167. Frame2.Size = UDim2.new(0, 69, 0, 22)
  168. Frame2.Visible = false
  169. Frame2.Active = true
  170. Frame2.Draggable = false
  171.  
  172. Open.Name = "Open"
  173. Open.Parent = Frame2
  174. Open.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
  175. Open.BorderSizePixel = 0
  176. Open.Position = UDim2.new(0, 0, -0.0354545712, 0)
  177. Open.Size = UDim2.new(0, 69, 0, 22)
  178. Open.Font = Enum.Font.GothamBlack
  179. Open.Text = "Open"
  180. Open.TextColor3 = Color3.fromRGB(0, 0, 0)
  181. Open.TextSize = 14.000
  182. Open.MouseButton1Down:connect(function()
  183.     Frame.Visible = true
  184.     Frame2.Visible = false
  185. end)
  186.  
  187. --// Spawning \\-- --//Credits to wally for the script\\--
  188.  
  189. local spawner = Instance.new("ScreenGui")
  190. local Main = Instance.new("Frame")
  191. local ItemFrame = Instance.new("ScrollingFrame")
  192. local ItemSearch = Instance.new("TextBox")
  193. local SpawnButton = Instance.new("TextButton")
  194. local Title = Instance.new("TextLabel")
  195.  
  196. --//               GUI                 \\--
  197.  
  198. spawner.Name = "spawner"
  199. spawner.Parent = game.CoreGui
  200.  
  201. Main.Name = "Main"
  202. Main.Parent = spawner
  203. Main.BackgroundColor3 = Color3.new(0.47, 0.47, 0.47)
  204. Main.BorderSizePixel = 0
  205. Main.Position = UDim2.new(0, 667, 0, 228)
  206. Main.Size = UDim2.new(0, 266, 0, 244)
  207. Main.Active = true
  208. Main.Draggable = true
  209.  
  210. ItemFrame.Name = "ItemFrame"
  211. ItemFrame.Parent = Main
  212. ItemFrame.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  213. ItemFrame.BorderSizePixel = 0
  214. ItemFrame.Position = UDim2.new(0, 56, 0, 76)
  215. ItemFrame.Size = UDim2.new(0, 155, 0, 92)
  216. ItemFrame.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  217. ItemFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  218. ItemFrame.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  219.  
  220. ItemSearch.Name = "ItemSearch"
  221. ItemSearch.Parent = Main
  222. ItemSearch.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  223. ItemSearch.BorderSizePixel = 0
  224. ItemSearch.Position = UDim2.new(0, 56, 0, 53)
  225. ItemSearch.Size = UDim2.new(0, 155, 0, 25)
  226. ItemSearch.Font = Enum.Font.SourceSansBold
  227. ItemSearch.FontSize = Enum.FontSize.Size14
  228. ItemSearch.Text = "Search for an item!"
  229. ItemSearch.TextColor3 = Color3.new(1, 1, 1)
  230. ItemSearch.TextScaled = true
  231. ItemSearch.TextSize = 14
  232. ItemSearch.TextWrapped = true
  233.  
  234. SpawnButton.Name = "SpawnButton"
  235. SpawnButton.Parent = Main
  236. SpawnButton.BackgroundColor3 = Color3.new(0.23, 245, 0.50)
  237. SpawnButton.BorderSizePixel = 0
  238. SpawnButton.Position = UDim2.new(0, 34, 0, 186)
  239. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  240. SpawnButton.ZIndex = 2
  241. SpawnButton.AutoButtonColor = false
  242. SpawnButton.Font = Enum.Font.ArialBold
  243. SpawnButton.FontSize = Enum.FontSize.Size14
  244. SpawnButton.Text = "SPAWN"
  245. SpawnButton.TextColor3 = Color3.new(1, 1, 1)
  246. SpawnButton.TextScaled = true
  247. SpawnButton.TextSize = 14
  248. SpawnButton.TextWrapped = true
  249.  
  250. Title.Name = "Title"
  251. Title.Parent = Main
  252. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  253. Title.BackgroundTransparency = 1
  254. Title.BorderSizePixel = 0
  255. Title.Size = UDim2.new(0, 266, 0, 30)
  256. Title.Font = Enum.Font.SourceSansBold
  257. Title.FontSize = Enum.FontSize.Size14
  258. Title.Text = " APOC SPAWN GUI"
  259. Title.TextColor3 = Color3.new(1, 1, 1)
  260. Title.TextScaled = true
  261. Title.TextSize = 14
  262. Title.TextWrapped = true
  263.  
  264. local backgroundObjects = Instance.new('Folder', spawner.Main)
  265. backgroundObjects.Name = 'BackgroundObjects'
  266.  
  267. local SpawnButton = Instance.new("TextButton", backgroundObjects)
  268. SpawnButton.Name = "SpawnButton"
  269. SpawnButton.Parent = game.CoreGui.spawner.Main.BackgroundObjects
  270. SpawnButton.BackgroundColor3 = Color3.new(0.0196078, 0.729412, 0.34902)
  271. SpawnButton.BorderSizePixel = 0
  272. SpawnButton.Position = UDim2.new(0, 34, 0, 193)
  273. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  274. SpawnButton.AutoButtonColor = false
  275. SpawnButton.Font = Enum.Font.SourceSans
  276. SpawnButton.FontSize = Enum.FontSize.Size14
  277. SpawnButton.Text = ""
  278. SpawnButton.TextSize = 14
  279.  
  280. --//            Main Thing             \\--
  281.  
  282. local gui = spawner.Main
  283. local box = gui:WaitForChild('ItemSearch')
  284. local items = gui:WaitForChild('ItemFrame')
  285. local path = game.Lighting.LootDrops
  286. local btn = gui:WaitForChild('SpawnButton')
  287. local pos = gui:WaitForChild('BackgroundObjects').SpawnButton.Position
  288. local sPos = btn.Position
  289. local client = game.Players.LocalPlayer
  290.  
  291. for k, v in next, path:GetChildren() do
  292. if not v.PrimaryPart then
  293. v.PrimaryPart = v:FindFirstChildWhichIsA('Model').Head
  294. end
  295. end
  296.  
  297. local function search(text)
  298. local items = {}
  299. for i, v in next, path:GetChildren() do
  300. if text:upper() == v.Name:sub(1, string.len(text)):upper() then
  301. table.insert(items, v.Name)
  302. end
  303. end
  304. return items
  305. end
  306.  
  307. local function bind(thing, f)
  308. thing.MouseButton1Click:connect(function()
  309. f()
  310. end)
  311. end
  312.  
  313. box.Changed:connect(function()
  314. local list = search(box.Text)
  315. if box.Text:gsub("", "") == "" then
  316. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  317. items:ClearAllChildren()
  318. return
  319. end
  320. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  321. items:ClearAllChildren()
  322. for i, v in next, list do
  323. local yPos = ((20 * i) - 20)
  324. local s = Instance.new('TextButton', items)
  325. s.BorderSizePixel = 0
  326. s.Font = Enum.Font.ArialBold
  327. s.TextScaled = true
  328. s.Text = v
  329. s.Name = v
  330. s.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  331. s.TextColor3 = Color3.new(0, 0, 0)
  332. s.Size = UDim2.new(0, 155, 0, 20)
  333. s.Position = UDim2.new(0, 0, 0, yPos)
  334. bind(s, function()
  335. box.Text = s.Text
  336. items:ClearAllChildren()
  337. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  338. end)
  339. end
  340. items.CanvasSize = UDim2.new(0, 0, 0, (20 * #list))
  341. end)
  342.  
  343. btn.MouseButton1Click:connect(function()
  344. local number = 1
  345. local itemname = box.Text
  346. for i=1, number do
  347.     local clone = game.Lighting.LootDrops[itemname]:Clone()
  348.     clone.Parent = game.Workspace
  349.     end
  350.     local lmao = game.Workspace:GetChildren()
  351.     for i=1, #lmao do
  352.       if lmao[i].Name == itemname then
  353.       lmao[i]:MoveTo(game.Players.LocalPlayer.Character.Head.Position + Vector3.new(5, 0, 0))
  354.   end
  355. end
  356. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement