Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local Camera = workspace.CurrentCamera
- local mouse = Players.LocalPlayer:GetMouse()
- local SoundBox = Instance.new ("Sound", workspace)
- SoundBox.SoundId = 'rbxassetid://177266782'
- SoundBox.Volume = 0.4
- SoundBox:Play()
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
- local MenuUI = library:CreateWindow('ApocX')
- local Plr = game.Players.LocalPlayer
- local C4MAT = game.Lighting.Materials.C4Placed
- local Position = Plr.Character.Torso.Position
- local IsLighting = false;
- local IsC4Walk = false;
- local IsBrightness = false;
- local IsNoClip = false;
- local SpectateBox = MenuUI:Box("Plr to Spectate", {
- flag = "Spectater";
- type = "string";
- },
- function(Spex)
- if Spex then
- for i,v in pairs(game:GetService('Players'):GetChildren()) do
- if (string.sub(string.lower(v.Name),1,string.len(Spex))) == string.lower(Spex) then
- local PlayerToSpectate = game:GetService("Players")[v.Name]
- game.Workspace.CurrentCamera.CameraSubject = PlayerToSpectate.Character.Humanoid
- end
- end
- end
- end)
- -- IF YOU ARE GOING TO USE THIS IN YOUR GUI PLEASE CREDIT ME KTHANKS!!!
- MenuUI:Toggle("NoClip",{},function(NoClipping)
- if NoClipping then
- IsNoClip = true;
- else
- IsNoClip = false;
- end
- spawn(function()
- while IsNoClip and game:service("RunService").Stepped:Wait() do
- if Plr.Character then
- for i,v in pairs(Plr.Character:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- end
- end
- end)
- end)
- MenuUI:Toggle('Fog',{},function(Lighting)
- SoundBox:Play()
- if Lighting then
- IsLighting = true;
- game.Lighting.FogEnd = 99999999999
- else
- game.Lighting.FogEnd = 700
- IsLighting = false;
- end
- end)
- MenuUI:Toggle('Brightness',{},function(BrightnessX)
- SoundBox:Play()
- if BrightnessX then
- IsBrightness = true;
- game.Lighting.Brightness = 5
- else
- game.Lighting.Brightness = 0.2
- IsBrightness = false;
- end
- end)
- MenuUI:Button('Infinite H/T/S',function()
- SoundBox:Play()
- spawn(function()
- while wait() do
- game.Players.LocalPlayer.Backpack.GlobalFunctions.Stamina.Value = 100
- game.Players.LocalPlayer.playerstats.Hunger.Value = 100
- game.Players.LocalPlayer.playerstats.Thirst.Value = 100
- end
- end)
- end)
- MenuUI:Button('Bring Corpse',function()
- for _, corpse in pairs(workspace:GetChildren()) do
- if corpse.Name == "Corpse" then
- corpse:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
- end
- end
- end)
- MenuUI:Toggle('C4 WALK',{},function(C4WALK)
- SoundBox:Play()
- if C4WALK then
- IsC4Walk = true;
- else
- IsC4Walk = false;
- end
- spawn(function()
- while IsC4Walk ~= false do wait(.05)
- game.Workspace.Remote.PlaceC4:FireServer(C4MAT, Position, true)
- end
- end)
- end)
- MenuUI:Button('Place C4',function()
- SoundBox:Play()
- game.Workspace.Remote.PlaceC4:FireServer(C4MAT, Position, true)
- end)
- MenuUI:Button('Detonator',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- DETSpawn ={"Detonator"}
- for sp = 1, #DETSpawn do
- s(DETSpawn[sp])
- end
- end)
- MenuUI:Button('BloodBag',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- BloodSpawn ={"BloodBag"}
- for sp = 1, #BloodSpawn do
- s(BloodSpawn[sp])
- end
- end)
- local TickleSEC = MenuUI:Section('Building Materials')
- MenuUI:Button('Entrencher',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- EntrencherSpawn ={"Entrencher"}
- for sp = 1, #EntrencherSpawn do
- s(EntrencherSpawn[sp])
- end
- end)
- MenuUI:Button('Wooden Slabs',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material1Spawn ={"Material1"}
- for sp = 1, #Material1Spawn do
- s(Material1Spawn[sp])
- end
- end)
- MenuUI:Button('Bricks',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material2Spawn ={"Material2"}
- for sp = 1, #Material2Spawn do
- s(Material2Spawn[sp])
- end
- end)
- MenuUI:Button('Stone Bricks',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material3Spawn ={"Material3"}
- for sp = 1, #Material3Spawn do
- s(Material3Spawn[sp])
- end
- end)
- MenuUI:Button('Timber',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material4Spawn ={"Material4"}
- for sp = 1, #Material4Spawn do
- s(Material4Spawn[sp])
- end
- end)
- MenuUI:Button('Stone Walls',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material5Spawn ={"Material5"}
- for sp = 1, #Material5Spawn do
- s(Material5Spawn[sp])
- end
- end)
- MenuUI:Button('Wooden Planks',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material6Spawn ={"Material6"}
- for sp = 1, #Material6Spawn do
- s(Material6Spawn[sp])
- end
- end)
- MenuUI:Button('Truss',function()
- SoundBox:Play()
- local function s(n)
- local BoopX = game.Lighting.LootDrops[n]:Clone()
- BoopX.Parent = workspace
- BoopX:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-7,7),0,math.random(-5,5)))
- end
- Material7Spawn ={"Material7"}
- for sp = 1, #Material7Spawn do
- s(Material7Spawn[sp])
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement