Advertisement
Be_Gone_Thot

Apocalypse Rising GUI

Oct 19th, 2019
11,928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.55 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local Camera = workspace.CurrentCamera
  3. local mouse = Players.LocalPlayer:GetMouse()
  4. local SoundBox = Instance.new ("Sound", workspace)
  5. SoundBox.SoundId = 'rbxassetid://177266782'
  6. SoundBox.Volume = 0.4
  7. SoundBox:Play()
  8.  
  9. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  10. local MenuUI = library:CreateWindow('ApocX')
  11.  
  12. local Plr = game.Players.LocalPlayer
  13. local C4MAT = game.Lighting.Materials.C4Placed
  14. local Position = Plr.Character.Torso.Position
  15.  
  16. local IsLighting = false;
  17. local IsC4Walk = false;
  18. local IsBrightness = false;
  19. local IsNoClip = false;
  20.  
  21. local SpectateBox = MenuUI:Box("Plr to Spectate", {
  22.     flag = "Spectater";
  23.     type = "string";
  24. },
  25.     function(Spex)
  26.     if Spex then
  27.         for i,v in pairs(game:GetService('Players'):GetChildren()) do
  28.             if (string.sub(string.lower(v.Name),1,string.len(Spex))) == string.lower(Spex) then
  29.                 local PlayerToSpectate = game:GetService("Players")[v.Name]
  30.                 game.Workspace.CurrentCamera.CameraSubject = PlayerToSpectate.Character.Humanoid
  31.             end
  32.         end  
  33.     end
  34. end)
  35.  
  36. -- IF YOU ARE GOING TO USE THIS IN YOUR GUI PLEASE CREDIT ME KTHANKS!!!
  37. MenuUI:Toggle("NoClip",{},function(NoClipping)
  38.     if NoClipping then
  39.         IsNoClip = true;
  40.     else
  41.         IsNoClip = false;
  42.     end
  43.     spawn(function()
  44.         while IsNoClip and game:service("RunService").Stepped:Wait() do
  45.             if Plr.Character then
  46.                 for i,v in pairs(Plr.Character:GetChildren()) do
  47.                     if v:IsA("BasePart") then
  48.                         v.CanCollide = false
  49.                     end
  50.                 end
  51.             end
  52.         end
  53.     end)
  54. end)
  55.  
  56. MenuUI:Toggle('Fog',{},function(Lighting)
  57.     SoundBox:Play()
  58.     if Lighting then
  59.         IsLighting = true;
  60.         game.Lighting.FogEnd = 99999999999
  61.     else
  62.         game.Lighting.FogEnd = 700
  63.         IsLighting = false;
  64.     end
  65. end)
  66.  
  67. MenuUI:Toggle('Brightness',{},function(BrightnessX)
  68.     SoundBox:Play()
  69.     if BrightnessX then
  70.         IsBrightness = true;
  71.         game.Lighting.Brightness = 5
  72.     else
  73.         game.Lighting.Brightness = 0.2
  74.         IsBrightness = false;
  75.     end
  76. end)
  77.  
  78. MenuUI:Button('Infinite H/T/S',function()
  79.     SoundBox:Play()
  80.     spawn(function()
  81.         while wait() do
  82.             game.Players.LocalPlayer.Backpack.GlobalFunctions.Stamina.Value = 100
  83.             game.Players.LocalPlayer.playerstats.Hunger.Value = 100
  84.             game.Players.LocalPlayer.playerstats.Thirst.Value = 100
  85.         end
  86.     end)
  87. end)
  88.  
  89. MenuUI:Button('Bring Corpse',function()
  90.     for _, corpse in pairs(workspace:GetChildren()) do
  91.          if corpse.Name == "Corpse" then
  92.             corpse:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  93.             end
  94.         end
  95.     end)
  96.  
  97. MenuUI:Toggle('C4 WALK',{},function(C4WALK)
  98.     SoundBox:Play()
  99.     if C4WALK then
  100.         IsC4Walk = true;
  101.     else
  102.         IsC4Walk = false;
  103.     end
  104.     spawn(function()
  105.         while IsC4Walk ~= false do wait(.05)
  106.             game.Workspace.Remote.PlaceC4:FireServer(C4MAT, Position, true)
  107.         end
  108.     end)
  109. end)
  110.  
  111. MenuUI:Button('Place C4',function()
  112.     SoundBox:Play()
  113.     game.Workspace.Remote.PlaceC4:FireServer(C4MAT, Position, true)
  114. end)
  115.  
  116. MenuUI:Button('Detonator',function()
  117.     SoundBox:Play()
  118.     local function s(n)
  119.         local BoopX = game.Lighting.LootDrops[n]:Clone()
  120.         BoopX.Parent = workspace
  121.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  122.         end
  123.         DETSpawn ={"Detonator"}
  124.    
  125.         for sp = 1, #DETSpawn do
  126.         s(DETSpawn[sp])
  127.         end
  128. end)
  129.  
  130. MenuUI:Button('BloodBag',function()
  131.     SoundBox:Play()
  132.         local function s(n)
  133.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  134.         BoopX.Parent = workspace
  135.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  136.         end
  137.         BloodSpawn ={"BloodBag"}
  138.    
  139.         for sp = 1, #BloodSpawn do
  140.         s(BloodSpawn[sp])
  141.     end
  142. end)
  143.  
  144. local TickleSEC = MenuUI:Section('Building Materials')
  145.  
  146. MenuUI:Button('Entrencher',function()
  147.     SoundBox:Play()
  148.         local function s(n)
  149.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  150.         BoopX.Parent = workspace
  151.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  152.         end
  153.         EntrencherSpawn ={"Entrencher"}
  154.    
  155.         for sp = 1, #EntrencherSpawn do
  156.         s(EntrencherSpawn[sp])
  157.     end
  158. end)
  159.  
  160. MenuUI:Button('Wooden Slabs',function()
  161.     SoundBox:Play()
  162.         local function s(n)
  163.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  164.         BoopX.Parent = workspace
  165.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  166.         end
  167.         Material1Spawn ={"Material1"}
  168.    
  169.         for sp = 1, #Material1Spawn do
  170.         s(Material1Spawn[sp])
  171.     end
  172. end)
  173.  
  174. MenuUI:Button('Bricks',function()
  175.     SoundBox:Play()
  176.         local function s(n)
  177.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  178.         BoopX.Parent = workspace
  179.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  180.         end
  181.         Material2Spawn ={"Material2"}
  182.    
  183.         for sp = 1, #Material2Spawn do
  184.         s(Material2Spawn[sp])
  185.     end
  186. end)
  187.  
  188. MenuUI:Button('Stone Bricks',function()
  189.     SoundBox:Play()
  190.         local function s(n)
  191.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  192.         BoopX.Parent = workspace
  193.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  194.         end
  195.         Material3Spawn ={"Material3"}
  196.    
  197.         for sp = 1, #Material3Spawn do
  198.         s(Material3Spawn[sp])
  199.     end
  200. end)
  201.  
  202. MenuUI:Button('Timber',function()
  203.     SoundBox:Play()
  204.         local function s(n)
  205.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  206.         BoopX.Parent = workspace
  207.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  208.         end
  209.         Material4Spawn ={"Material4"}
  210.    
  211.         for sp = 1, #Material4Spawn do
  212.         s(Material4Spawn[sp])
  213.     end
  214. end)
  215.  
  216. MenuUI:Button('Stone Walls',function()
  217.     SoundBox:Play()
  218.         local function s(n)
  219.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  220.         BoopX.Parent = workspace
  221.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  222.         end
  223.         Material5Spawn ={"Material5"}
  224.    
  225.         for sp = 1, #Material5Spawn do
  226.         s(Material5Spawn[sp])
  227.     end
  228. end)
  229.  
  230. MenuUI:Button('Wooden Planks',function()
  231.     SoundBox:Play()
  232.         local function s(n)
  233.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  234.         BoopX.Parent = workspace
  235.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  236.         end
  237.         Material6Spawn ={"Material6"}
  238.    
  239.         for sp = 1, #Material6Spawn do
  240.         s(Material6Spawn[sp])
  241.     end
  242. end)
  243.  
  244. MenuUI:Button('Truss',function()
  245.     SoundBox:Play()
  246.         local function s(n)
  247.         local BoopX = game.Lighting.LootDrops[n]:Clone()            
  248.         BoopX.Parent = workspace
  249.         BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
  250.         end
  251.         Material7Spawn ={"Material7"}
  252.    
  253.         for sp = 1, #Material7Spawn do
  254.         s(Material7Spawn[sp])
  255.     end
  256. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement