SHARE
TWEET

yay

aewdfawd623 Jul 21st, 2019 414 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Client = nil
  2. for i,v in next, getgc() do
  3.     if type(v) == 'function' then
  4.         local upvals = debug.getupvalues(v)
  5.         if not Client and upvals.network and upvals.char and upvals.gamelogic and upvals.effects then
  6.             Client = upvals;
  7.         elseif upvals.netkick then
  8.             debug.setupvalue(v, 'netkick', function() end)
  9.         end
  10.     end
  11. end
  12.  
  13. local Settings = {
  14.     GunMod = false,
  15.     NoFallDamage = false,
  16.     InstaKill = false,
  17.     ESP = false,
  18.     InfFrags = false
  19. }
  20.  
  21. local Players = game:GetService("Players")
  22. local LocalPlayer = Players.LocalPlayer
  23.  
  24. local function GetEnemies()
  25.     local Enemies = {}
  26.     for i,Player in ipairs(Players:GetPlayers()) do
  27.         if Player.TeamColor ~= LocalPlayer.TeamColor then
  28.             table.insert(Enemies,Player)
  29.         end
  30.     end
  31.     return Enemies
  32. end
  33.  
  34. if Client then
  35.     local Network = Client.network
  36.     local Char = Client.char
  37.     local Logic = Client.gamelogic
  38.     local Effects = Client.effects
  39.     local Funcs = nil
  40.     local LoadGun = Char.loadgun
  41.     local LoadFrag = Char.loadgrenade
  42.     local None = Vector3.new()
  43.    
  44.     function BreakWindows()
  45.         local Windows = {}
  46.         for i,v in next, workspace:GetDescendants() do
  47.             if v.Name:lower() == "window" then
  48.                 table.insert(Windows,v)
  49.             end
  50.         end
  51.         Effects:breakwindows(Windows)
  52.     end
  53.  
  54.     function Init()
  55.         do
  56.             Funcs = debug.getupvalue(Network.add, 'funcs')
  57.             if Funcs then
  58.                 Funcs.console('Loaded!')
  59.                 Funcs.console("[WARNING] Using 'Break All Windows' will freeze the game for a few seconds!")
  60.                
  61.                 local OldNewBullet = Funcs.newbullet
  62.                 function Funcs.newbullet(...)
  63.                     local Args = {...}
  64.                     if Settings.GunMod then Args[1].acceleration = Vector3.new(0,0,0) end
  65.                     return OldNewBullet(unpack(Args))
  66.                 end
  67.  
  68.                 spawn(function()
  69.                     while wait() do
  70.                         if Settings.ESP then
  71.                             for i,v in next, GetEnemies() do
  72.                                 Funcs.spotplayer(v)
  73.                                 wait()
  74.                             end
  75.                         end
  76.                     end
  77.                 end)
  78.             end
  79.         end
  80.        
  81.         do
  82.             local OldSend = Network.send;
  83.             Network.send = function(self, ...)
  84.                 local Args = {...};
  85.                 if #Args > 0 then
  86.                     local Name = Args[1];
  87.                     if Name == 'changehealthx' then
  88.                         if #Args > 4 and Args[5] == 'Falling' and Settings.NoFallDamage then
  89.                             return
  90.                         end
  91.                     elseif Settings.InstaKill and Name == 'bullethit' then
  92.                         if Args[3] > -100 then
  93.                             Args[3] = -100
  94.                             return OldSend(self, unpack(Args))
  95.                         end
  96.                     end
  97.                 end
  98.                 return OldSend(self, ...)
  99.             end
  100.         end
  101.  
  102.         function Char.loadgun(...)
  103.             if Settings.GunMod then
  104.                 local Args = {...}
  105.                 local GunData = Args[2]
  106.                 GunData.hideflash = true;
  107.                 GunData.hideminimap = true;
  108.                 GunData.hiderange = 0;
  109.                 GunData.sparerounds = math.huge;
  110.                 GunData.magsize = math.huge;
  111.                 GunData.camkickmin = None;
  112.                 GunData.camkickmax = None;
  113.                 GunData.aimcamkickmin = None;
  114.                 GunData.aimcamkickmax = None;
  115.                 GunData.aimtranskickmin = None;
  116.                 GunData.aimtranskickmax = None;
  117.                 GunData.transkickmin = None;
  118.                 GunData.transkickmax = None;
  119.                 GunData.rotkickmin = None;
  120.                 GunData.rotkickmax = None;
  121.                 GunData.aimrotkickmin = None;
  122.                 GunData.aimrotkickmax = None;
  123.                 GunData.hipfirespread = 0;
  124.                 GunData.hipfirestability = 0;
  125.                 GunData.swayamp = 0;
  126.                 GunData.swayspeed = 0;
  127.                 GunData.steadyspeed = 0;
  128.                 GunData.breathspeed = 0;
  129.                 GunData.hipfirespreadrecover = 100;
  130.                 GunData.hipfirespreadrecover = 100;
  131.                 GunData.bulletspeed = 5000;
  132.                 GunData.crosssize = 2;
  133.                 GunData.crossexpansion = 0;
  134.                 GunData.firerate = 1500;
  135.                 GunData.variablefirerate = false;
  136.                 GunData.range0 = 1000;
  137.                 GunData.range1 = 1000;
  138.                 GunData.penetrationdepth = 1000;
  139.                 GunData.firemodes = {true, 3, 1};
  140.                 GunData.requirechamber = false;
  141.                 Args[2] = GunData
  142.                 return LoadGun(unpack(Args))
  143.             end
  144.             return LoadGun(...)
  145.         end
  146.  
  147.         function Char.loadgrenade(...)
  148.             if Settings.InfFrags then Logic.gammo = math.huge end
  149.             return LoadFrag(...)
  150.         end
  151.     end
  152.  
  153.     function CreateGUI()
  154.         local hax = Instance.new("ScreenGui")
  155.         local xd = Instance.new("Frame")
  156.         local gameplay = Instance.new("Frame")
  157.         local header = Instance.new("Frame")
  158.         local name = Instance.new("TextLabel")
  159.         local gunmod = Instance.new("TextButton")
  160.         local onoff = Instance.new("TextLabel")
  161.         local instakill = Instance.new("TextButton")
  162.         local onoff_2 = Instance.new("TextLabel")
  163.         local inffrags = Instance.new("TextButton")
  164.         local onoff_3 = Instance.new("TextLabel")
  165.         local misc = Instance.new("Frame")
  166.         local header_2 = Instance.new("Frame")
  167.         local name_2 = Instance.new("TextLabel")
  168.         local esp = Instance.new("TextButton")
  169.         local onoff_4 = Instance.new("TextLabel")
  170.         local nofall = Instance.new("TextButton")
  171.         local onoff_5 = Instance.new("TextLabel")
  172.         local breakglass = Instance.new("TextButton")
  173.         local Red = Color3.new(1, 0, 0)
  174.         local Green = Color3.new(0, 1, 0)
  175.         --Properties:
  176.         hax.Name = "hax"
  177.         hax.Parent = game:GetService("CoreGui")
  178.        
  179.         xd.Name = "xd"
  180.         xd.Parent = hax
  181.         xd.BackgroundColor3 = Color3.new(1, 1, 1)
  182.         xd.BackgroundTransparency = 1
  183.         xd.Size = UDim2.new(1, 0, 1, 0)
  184.        
  185.         gameplay.Name = "gameplay"
  186.         gameplay.Parent = xd
  187.         gameplay.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  188.         gameplay.BackgroundTransparency = 0.5
  189.         gameplay.Position = UDim2.new(0.0725047067, 0, 0.0837520957, 0)
  190.         gameplay.Size = UDim2.new(0.242937848, 0, 0.318257958, 0)
  191.         gameplay.ZIndex = 10
  192.        
  193.         header.Name = "header"
  194.         header.Parent = gameplay
  195.         header.BackgroundColor3 = Color3.new(1, 0, 0)
  196.         header.BackgroundTransparency = 0.80000001192093
  197.         header.BorderSizePixel = 0
  198.         header.Size = UDim2.new(1, 0, 0.136842102, 0)
  199.         header.ZIndex = 10
  200.        
  201.         name.Name = "name"
  202.         name.Parent = header
  203.         name.BackgroundColor3 = Color3.new(1, 1, 1)
  204.         name.BackgroundTransparency = 1
  205.         name.Size = UDim2.new(1, 0, 1, 0)
  206.         name.ZIndex = 10
  207.         name.Text = "Gameplay"
  208.         name.TextColor3 = Color3.new(1, 1, 1)
  209.         name.TextScaled = true
  210.         name.TextSize = 14
  211.         name.TextWrapped = true
  212.        
  213.         gunmod.Name = "gunmod"
  214.         gunmod.Parent = gameplay
  215.         gunmod.BackgroundColor3 = Color3.new(1, 1, 1)
  216.         gunmod.BackgroundTransparency = 1
  217.         gunmod.Position = UDim2.new(0, 0, 0.215789467, 0)
  218.         gunmod.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  219.         gunmod.ZIndex = 10
  220.         gunmod.Font = Enum.Font.Gotham
  221.         gunmod.Text = "Gun Mod"
  222.         gunmod.TextColor3 = Color3.new(1, 1, 1)
  223.         gunmod.TextScaled = true
  224.         gunmod.TextSize = 14
  225.         gunmod.TextWrapped = true
  226.         gunmod.MouseButton1Click:Connect(function()
  227.             Settings.GunMod = not Settings.GunMod
  228.             if Settings.GunMod then
  229.                 gunmod:WaitForChild("onoff").Text = "ON"
  230.                 gunmod:WaitForChild("onoff").TextColor3 = Green
  231.             else
  232.                 gunmod:WaitForChild("onoff").Text = "OFF"
  233.                 gunmod:WaitForChild("onoff").TextColor3 = Red
  234.             end
  235.         end)
  236.        
  237.         onoff.Name = "onoff"
  238.         onoff.Parent = gunmod
  239.         onoff.BackgroundColor3 = Color3.new(1, 1, 1)
  240.         onoff.BackgroundTransparency = 1
  241.         onoff.Position = UDim2.new(1.14371252, 0, 0, 0)
  242.         onoff.Size = UDim2.new(0.341317356, 0, 1, 0)
  243.         onoff.ZIndex = 10
  244.         onoff.Font = Enum.Font.Cartoon
  245.         onoff.Text = "OFF"
  246.         onoff.TextColor3 = Color3.new(1, 0, 0)
  247.         onoff.TextScaled = true
  248.         onoff.TextSize = 14
  249.         onoff.TextWrapped = true
  250.        
  251.         instakill.Name = "instakill"
  252.         instakill.Parent = gameplay
  253.         instakill.BackgroundColor3 = Color3.new(1, 1, 1)
  254.         instakill.BackgroundTransparency = 1
  255.         instakill.Position = UDim2.new(0, 0, 0.49473685, 0)
  256.         instakill.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  257.         instakill.ZIndex = 10
  258.         instakill.Font = Enum.Font.Gotham
  259.         instakill.Text = "Insta-Kill"
  260.         instakill.TextColor3 = Color3.new(1, 1, 1)
  261.         instakill.TextScaled = true
  262.         instakill.TextSize = 14
  263.         instakill.TextWrapped = true
  264.         instakill.MouseButton1Click:Connect(function()
  265.             Settings.InstaKill = not Settings.InstaKill
  266.             if Settings.InstaKill then
  267.                 instakill:WaitForChild("onoff").Text = "ON"
  268.                 instakill:WaitForChild("onoff").TextColor3 = Green
  269.             else
  270.                 instakill:WaitForChild("onoff").Text = "OFF"
  271.                 instakill:WaitForChild("onoff").TextColor3 = Red
  272.             end
  273.         end)
  274.        
  275.         onoff_2.Name = "onoff"
  276.         onoff_2.Parent = instakill
  277.         onoff_2.BackgroundColor3 = Color3.new(1, 1, 1)
  278.         onoff_2.BackgroundTransparency = 1
  279.         onoff_2.Position = UDim2.new(1.14371252, 0, 0, 0)
  280.         onoff_2.Size = UDim2.new(0.341317356, 0, 1, 0)
  281.         onoff_2.ZIndex = 10
  282.         onoff_2.Font = Enum.Font.Cartoon
  283.         onoff_2.Text = "OFF"
  284.         onoff_2.TextColor3 = Color3.new(1, 0, 0)
  285.         onoff_2.TextScaled = true
  286.         onoff_2.TextSize = 14
  287.         onoff_2.TextWrapped = true
  288.        
  289.         inffrags.Name = "inffrags"
  290.         inffrags.Parent = gameplay
  291.         inffrags.BackgroundColor3 = Color3.new(1, 1, 1)
  292.         inffrags.BackgroundTransparency = 1
  293.         inffrags.Position = UDim2.new(0, 0, 0.757894754, 0)
  294.         inffrags.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  295.         inffrags.ZIndex = 10
  296.         inffrags.Font = Enum.Font.Gotham
  297.         inffrags.Text = "Infinite Frags"
  298.         inffrags.TextColor3 = Color3.new(1, 1, 1)
  299.         inffrags.TextScaled = true
  300.         inffrags.TextSize = 14
  301.         inffrags.TextWrapped = true
  302.         inffrags.MouseButton1Click:Connect(function()
  303.             Settings.InfFrags = not Settings.InfFrags
  304.             if Settings.InfFrags then
  305.                 inffrags:WaitForChild("onoff").Text = "ON"
  306.                 inffrags:WaitForChild("onoff").TextColor3 = Green
  307.             else
  308.                 inffrags:WaitForChild("onoff").Text = "OFF"
  309.                 inffrags:WaitForChild("onoff").TextColor3 = Red
  310.             end
  311.         end)
  312.        
  313.         onoff_3.Name = "onoff"
  314.         onoff_3.Parent = inffrags
  315.         onoff_3.BackgroundColor3 = Color3.new(1, 1, 1)
  316.         onoff_3.BackgroundTransparency = 1
  317.         onoff_3.Position = UDim2.new(1.14371252, 0, 0, 0)
  318.         onoff_3.Size = UDim2.new(0.341317356, 0, 1, 0)
  319.         onoff_3.ZIndex = 10
  320.         onoff_3.Font = Enum.Font.Cartoon
  321.         onoff_3.Text = "OFF"
  322.         onoff_3.TextColor3 = Color3.new(1, 0, 0)
  323.         onoff_3.TextScaled = true
  324.         onoff_3.TextSize = 14
  325.         onoff_3.TextWrapped = true
  326.        
  327.         misc.Name = "misc"
  328.         misc.Parent = xd
  329.         misc.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  330.         misc.BackgroundTransparency = 0.5
  331.         misc.Position = UDim2.new(0.359698683, 0, 0.0837520957, 0)
  332.         misc.Size = UDim2.new(0.242937848, 0, 0.318257958, 0)
  333.         misc.ZIndex = 10
  334.        
  335.         header_2.Name = "header"
  336.         header_2.Parent = misc
  337.         header_2.BackgroundColor3 = Color3.new(1, 0, 0)
  338.         header_2.BackgroundTransparency = 0.80000001192093
  339.         header_2.BorderSizePixel = 0
  340.         header_2.Size = UDim2.new(1, 0, 0.136842102, 0)
  341.         header_2.ZIndex = 10
  342.        
  343.         name_2.Name = "name"
  344.         name_2.Parent = header_2
  345.         name_2.BackgroundColor3 = Color3.new(1, 1, 1)
  346.         name_2.BackgroundTransparency = 1
  347.         name_2.Size = UDim2.new(1, 0, 1, 0)
  348.         name_2.ZIndex = 10
  349.         name_2.Text = "Misc"
  350.         name_2.TextColor3 = Color3.new(1, 1, 1)
  351.         name_2.TextScaled = true
  352.         name_2.TextSize = 14
  353.         name_2.TextWrapped = true
  354.        
  355.         esp.Name = "esp"
  356.         esp.Parent = misc
  357.         esp.BackgroundColor3 = Color3.new(1, 1, 1)
  358.         esp.BackgroundTransparency = 1
  359.         esp.Position = UDim2.new(0, 0, 0.215789467, 0)
  360.         esp.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  361.         esp.ZIndex = 10
  362.         esp.Font = Enum.Font.Gotham
  363.         esp.Text = "ESP"
  364.         esp.TextColor3 = Color3.new(1, 1, 1)
  365.         esp.TextScaled = true
  366.         esp.TextSize = 14
  367.         esp.TextWrapped = true
  368.         esp.MouseButton1Click:Connect(function()
  369.             Settings.ESP = not Settings.ESP
  370.             if Settings.ESP then
  371.                 esp:WaitForChild("onoff").Text = "ON"
  372.                 esp:WaitForChild("onoff").TextColor3 = Green
  373.             else
  374.                 esp:WaitForChild("onoff").Text = "OFF"
  375.                 esp:WaitForChild("onoff").TextColor3 = Red
  376.             end
  377.         end)
  378.        
  379.         onoff_4.Name = "onoff"
  380.         onoff_4.Parent = esp
  381.         onoff_4.BackgroundColor3 = Color3.new(1, 1, 1)
  382.         onoff_4.BackgroundTransparency = 1
  383.         onoff_4.Position = UDim2.new(1.14371252, 0, 0, 0)
  384.         onoff_4.Size = UDim2.new(0.341317356, 0, 1, 0)
  385.         onoff_4.ZIndex = 10
  386.         onoff_4.Font = Enum.Font.Cartoon
  387.         onoff_4.Text = "OFF"
  388.         onoff_4.TextColor3 = Color3.new(1, 0, 0)
  389.         onoff_4.TextScaled = true
  390.         onoff_4.TextSize = 14
  391.         onoff_4.TextWrapped = true
  392.        
  393.         nofall.Name = "nofall"
  394.         nofall.Parent = misc
  395.         nofall.BackgroundColor3 = Color3.new(1, 1, 1)
  396.         nofall.BackgroundTransparency = 1
  397.         nofall.Position = UDim2.new(0, 0, 0.49473685, 0)
  398.         nofall.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  399.         nofall.ZIndex = 10
  400.         nofall.Font = Enum.Font.Gotham
  401.         nofall.Text = "No Fall Damage"
  402.         nofall.TextColor3 = Color3.new(1, 1, 1)
  403.         nofall.TextScaled = true
  404.         nofall.TextSize = 14
  405.         nofall.TextWrapped = true
  406.         nofall.MouseButton1Click:Connect(function()
  407.             Settings.NoFallDamage = not Settings.NoFallDamage
  408.             if Settings.NoFallDamage then
  409.                 nofall:WaitForChild("onoff").Text = "ON"
  410.                 nofall:WaitForChild("onoff").TextColor3 = Green
  411.             else
  412.                 nofall:WaitForChild("onoff").Text = "OFF"
  413.                 nofall:WaitForChild("onoff").TextColor3 = Red
  414.             end
  415.         end)
  416.        
  417.         onoff_5.Name = "onoff"
  418.         onoff_5.Parent = nofall
  419.         onoff_5.BackgroundColor3 = Color3.new(1, 1, 1)
  420.         onoff_5.BackgroundTransparency = 1
  421.         onoff_5.Position = UDim2.new(1.14371252, 0, 0, 0)
  422.         onoff_5.Size = UDim2.new(0.341317356, 0, 1, 0)
  423.         onoff_5.ZIndex = 10
  424.         onoff_5.Font = Enum.Font.Cartoon
  425.         onoff_5.Text = "OFF"
  426.         onoff_5.TextColor3 = Color3.new(1, 0, 0)
  427.         onoff_5.TextScaled = true
  428.         onoff_5.TextSize = 14
  429.         onoff_5.TextWrapped = true
  430.        
  431.         breakglass.Name = "breakglass"
  432.         breakglass.Parent = misc
  433.         breakglass.BackgroundColor3 = Color3.new(1, 1, 1)
  434.         breakglass.BackgroundTransparency = 1
  435.         breakglass.Position = UDim2.new(0, 0, 0.757894754, 0)
  436.         breakglass.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
  437.         breakglass.ZIndex = 10
  438.         breakglass.Font = Enum.Font.Gotham
  439.         breakglass.Text = "Break All Windows"
  440.         breakglass.TextColor3 = Color3.new(1, 1, 1)
  441.         breakglass.TextScaled = true
  442.         breakglass.TextSize = 14
  443.         breakglass.TextWrapped = true
  444.         breakglass.MouseButton1Click:Connect(function()
  445.             BreakWindows()
  446.         end)
  447.  
  448.         game:GetService("UserInputService").InputBegan:Connect(function(key,ischat)
  449.             if ischat then return end
  450.             if key.KeyCode == Enum.KeyCode.P then
  451.                 xd.Visible = not xd.Visible
  452.             end
  453.         end)
  454.  
  455.         Init()  
  456.     end
  457.  
  458.     CreateGUI()
  459. 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