Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Client = nil
- for i,v in next, getgc() do
- if type(v) == 'function' then
- local upvals = debug.getupvalues(v)
- if not Client and upvals.network and upvals.char and upvals.gamelogic and upvals.effects then
- Client = upvals;
- elseif upvals.netkick then
- debug.setupvalue(v, 'netkick', function() end)
- end
- end
- end
- local Settings = {
- GunMod = false,
- NoFallDamage = false,
- InstaKill = false,
- ESP = false,
- InfFrags = false
- }
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local function GetEnemies()
- local Enemies = {}
- for i,Player in ipairs(Players:GetPlayers()) do
- if Player.TeamColor ~= LocalPlayer.TeamColor then
- table.insert(Enemies,Player)
- end
- end
- return Enemies
- end
- if Client then
- local Network = Client.network
- local Char = Client.char
- local Logic = Client.gamelogic
- local Effects = Client.effects
- local Funcs = nil
- local LoadGun = Char.loadgun
- local LoadFrag = Char.loadgrenade
- local None = Vector3.new()
- function BreakWindows()
- local Windows = {}
- for i,v in next, workspace:GetDescendants() do
- if v.Name:lower() == "window" then
- table.insert(Windows,v)
- end
- end
- Effects:breakwindows(Windows)
- end
- function Init()
- do
- Funcs = debug.getupvalue(Network.add, 'funcs')
- if Funcs then
- Funcs.console('Loaded!')
- Funcs.console("[WARNING] Using 'Break All Windows' will freeze the game for a few seconds!")
- local OldNewBullet = Funcs.newbullet
- function Funcs.newbullet(...)
- local Args = {...}
- if Settings.GunMod then Args[1].acceleration = Vector3.new(0,0,0) end
- return OldNewBullet(unpack(Args))
- end
- spawn(function()
- while wait() do
- if Settings.ESP then
- for i,v in next, GetEnemies() do
- Funcs.spotplayer(v)
- wait()
- end
- end
- end
- end)
- end
- end
- do
- local OldSend = Network.send;
- Network.send = function(self, ...)
- local Args = {...};
- if #Args > 0 then
- local Name = Args[1];
- if Name == 'changehealthx' then
- if #Args > 4 and Args[5] == 'Falling' and Settings.NoFallDamage then
- return
- end
- elseif Settings.InstaKill and Name == 'bullethit' then
- if Args[3] > -100 then
- Args[3] = -100
- return OldSend(self, unpack(Args))
- end
- end
- end
- return OldSend(self, ...)
- end
- end
- function Char.loadgun(...)
- if Settings.GunMod then
- local Args = {...}
- local GunData = Args[2]
- GunData.hideflash = true;
- GunData.hideminimap = true;
- GunData.hiderange = 0;
- GunData.sparerounds = math.huge;
- GunData.magsize = math.huge;
- GunData.camkickmin = None;
- GunData.camkickmax = None;
- GunData.aimcamkickmin = None;
- GunData.aimcamkickmax = None;
- GunData.aimtranskickmin = None;
- GunData.aimtranskickmax = None;
- GunData.transkickmin = None;
- GunData.transkickmax = None;
- GunData.rotkickmin = None;
- GunData.rotkickmax = None;
- GunData.aimrotkickmin = None;
- GunData.aimrotkickmax = None;
- GunData.hipfirespread = 0;
- GunData.hipfirestability = 0;
- GunData.swayamp = 0;
- GunData.swayspeed = 0;
- GunData.steadyspeed = 0;
- GunData.breathspeed = 0;
- GunData.hipfirespreadrecover = 100;
- GunData.hipfirespreadrecover = 100;
- GunData.bulletspeed = 5000;
- GunData.crosssize = 2;
- GunData.crossexpansion = 0;
- GunData.firerate = 1500;
- GunData.variablefirerate = false;
- GunData.range0 = 1000;
- GunData.range1 = 1000;
- GunData.penetrationdepth = 1000;
- GunData.firemodes = {true, 3, 1};
- GunData.requirechamber = false;
- Args[2] = GunData
- return LoadGun(unpack(Args))
- end
- return LoadGun(...)
- end
- function Char.loadgrenade(...)
- if Settings.InfFrags then Logic.gammo = math.huge end
- return LoadFrag(...)
- end
- end
- function CreateGUI()
- local hax = Instance.new("ScreenGui")
- local xd = Instance.new("Frame")
- local gameplay = Instance.new("Frame")
- local header = Instance.new("Frame")
- local name = Instance.new("TextLabel")
- local gunmod = Instance.new("TextButton")
- local onoff = Instance.new("TextLabel")
- local instakill = Instance.new("TextButton")
- local onoff_2 = Instance.new("TextLabel")
- local inffrags = Instance.new("TextButton")
- local onoff_3 = Instance.new("TextLabel")
- local misc = Instance.new("Frame")
- local header_2 = Instance.new("Frame")
- local name_2 = Instance.new("TextLabel")
- local esp = Instance.new("TextButton")
- local onoff_4 = Instance.new("TextLabel")
- local nofall = Instance.new("TextButton")
- local onoff_5 = Instance.new("TextLabel")
- local breakglass = Instance.new("TextButton")
- local Red = Color3.new(1, 0, 0)
- local Green = Color3.new(0, 1, 0)
- --Properties:
- hax.Name = "hax"
- hax.Parent = game:GetService("CoreGui")
- xd.Name = "xd"
- xd.Parent = hax
- xd.BackgroundColor3 = Color3.new(1, 1, 1)
- xd.BackgroundTransparency = 1
- xd.Size = UDim2.new(1, 0, 1, 0)
- gameplay.Name = "gameplay"
- gameplay.Parent = xd
- gameplay.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
- gameplay.BackgroundTransparency = 0.5
- gameplay.Position = UDim2.new(0.0725047067, 0, 0.0837520957, 0)
- gameplay.Size = UDim2.new(0.242937848, 0, 0.318257958, 0)
- gameplay.ZIndex = 10
- header.Name = "header"
- header.Parent = gameplay
- header.BackgroundColor3 = Color3.new(1, 0, 0)
- header.BackgroundTransparency = 0.80000001192093
- header.BorderSizePixel = 0
- header.Size = UDim2.new(1, 0, 0.136842102, 0)
- header.ZIndex = 10
- name.Name = "name"
- name.Parent = header
- name.BackgroundColor3 = Color3.new(1, 1, 1)
- name.BackgroundTransparency = 1
- name.Size = UDim2.new(1, 0, 1, 0)
- name.ZIndex = 10
- name.Text = "Gameplay"
- name.TextColor3 = Color3.new(1, 1, 1)
- name.TextScaled = true
- name.TextSize = 14
- name.TextWrapped = true
- gunmod.Name = "gunmod"
- gunmod.Parent = gameplay
- gunmod.BackgroundColor3 = Color3.new(1, 1, 1)
- gunmod.BackgroundTransparency = 1
- gunmod.Position = UDim2.new(0, 0, 0.215789467, 0)
- gunmod.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- gunmod.ZIndex = 10
- gunmod.Font = Enum.Font.Gotham
- gunmod.Text = "Gun Mod"
- gunmod.TextColor3 = Color3.new(1, 1, 1)
- gunmod.TextScaled = true
- gunmod.TextSize = 14
- gunmod.TextWrapped = true
- gunmod.MouseButton1Click:Connect(function()
- Settings.GunMod = not Settings.GunMod
- if Settings.GunMod then
- gunmod:WaitForChild("onoff").Text = "ON"
- gunmod:WaitForChild("onoff").TextColor3 = Green
- else
- gunmod:WaitForChild("onoff").Text = "OFF"
- gunmod:WaitForChild("onoff").TextColor3 = Red
- end
- end)
- onoff.Name = "onoff"
- onoff.Parent = gunmod
- onoff.BackgroundColor3 = Color3.new(1, 1, 1)
- onoff.BackgroundTransparency = 1
- onoff.Position = UDim2.new(1.14371252, 0, 0, 0)
- onoff.Size = UDim2.new(0.341317356, 0, 1, 0)
- onoff.ZIndex = 10
- onoff.Font = Enum.Font.Cartoon
- onoff.Text = "OFF"
- onoff.TextColor3 = Color3.new(1, 0, 0)
- onoff.TextScaled = true
- onoff.TextSize = 14
- onoff.TextWrapped = true
- instakill.Name = "instakill"
- instakill.Parent = gameplay
- instakill.BackgroundColor3 = Color3.new(1, 1, 1)
- instakill.BackgroundTransparency = 1
- instakill.Position = UDim2.new(0, 0, 0.49473685, 0)
- instakill.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- instakill.ZIndex = 10
- instakill.Font = Enum.Font.Gotham
- instakill.Text = "Insta-Kill"
- instakill.TextColor3 = Color3.new(1, 1, 1)
- instakill.TextScaled = true
- instakill.TextSize = 14
- instakill.TextWrapped = true
- instakill.MouseButton1Click:Connect(function()
- Settings.InstaKill = not Settings.InstaKill
- if Settings.InstaKill then
- instakill:WaitForChild("onoff").Text = "ON"
- instakill:WaitForChild("onoff").TextColor3 = Green
- else
- instakill:WaitForChild("onoff").Text = "OFF"
- instakill:WaitForChild("onoff").TextColor3 = Red
- end
- end)
- onoff_2.Name = "onoff"
- onoff_2.Parent = instakill
- onoff_2.BackgroundColor3 = Color3.new(1, 1, 1)
- onoff_2.BackgroundTransparency = 1
- onoff_2.Position = UDim2.new(1.14371252, 0, 0, 0)
- onoff_2.Size = UDim2.new(0.341317356, 0, 1, 0)
- onoff_2.ZIndex = 10
- onoff_2.Font = Enum.Font.Cartoon
- onoff_2.Text = "OFF"
- onoff_2.TextColor3 = Color3.new(1, 0, 0)
- onoff_2.TextScaled = true
- onoff_2.TextSize = 14
- onoff_2.TextWrapped = true
- inffrags.Name = "inffrags"
- inffrags.Parent = gameplay
- inffrags.BackgroundColor3 = Color3.new(1, 1, 1)
- inffrags.BackgroundTransparency = 1
- inffrags.Position = UDim2.new(0, 0, 0.757894754, 0)
- inffrags.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- inffrags.ZIndex = 10
- inffrags.Font = Enum.Font.Gotham
- inffrags.Text = "Infinite Frags"
- inffrags.TextColor3 = Color3.new(1, 1, 1)
- inffrags.TextScaled = true
- inffrags.TextSize = 14
- inffrags.TextWrapped = true
- inffrags.MouseButton1Click:Connect(function()
- Settings.InfFrags = not Settings.InfFrags
- if Settings.InfFrags then
- inffrags:WaitForChild("onoff").Text = "ON"
- inffrags:WaitForChild("onoff").TextColor3 = Green
- else
- inffrags:WaitForChild("onoff").Text = "OFF"
- inffrags:WaitForChild("onoff").TextColor3 = Red
- end
- end)
- onoff_3.Name = "onoff"
- onoff_3.Parent = inffrags
- onoff_3.BackgroundColor3 = Color3.new(1, 1, 1)
- onoff_3.BackgroundTransparency = 1
- onoff_3.Position = UDim2.new(1.14371252, 0, 0, 0)
- onoff_3.Size = UDim2.new(0.341317356, 0, 1, 0)
- onoff_3.ZIndex = 10
- onoff_3.Font = Enum.Font.Cartoon
- onoff_3.Text = "OFF"
- onoff_3.TextColor3 = Color3.new(1, 0, 0)
- onoff_3.TextScaled = true
- onoff_3.TextSize = 14
- onoff_3.TextWrapped = true
- misc.Name = "misc"
- misc.Parent = xd
- misc.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
- misc.BackgroundTransparency = 0.5
- misc.Position = UDim2.new(0.359698683, 0, 0.0837520957, 0)
- misc.Size = UDim2.new(0.242937848, 0, 0.318257958, 0)
- misc.ZIndex = 10
- header_2.Name = "header"
- header_2.Parent = misc
- header_2.BackgroundColor3 = Color3.new(1, 0, 0)
- header_2.BackgroundTransparency = 0.80000001192093
- header_2.BorderSizePixel = 0
- header_2.Size = UDim2.new(1, 0, 0.136842102, 0)
- header_2.ZIndex = 10
- name_2.Name = "name"
- name_2.Parent = header_2
- name_2.BackgroundColor3 = Color3.new(1, 1, 1)
- name_2.BackgroundTransparency = 1
- name_2.Size = UDim2.new(1, 0, 1, 0)
- name_2.ZIndex = 10
- name_2.Text = "Misc"
- name_2.TextColor3 = Color3.new(1, 1, 1)
- name_2.TextScaled = true
- name_2.TextSize = 14
- name_2.TextWrapped = true
- esp.Name = "esp"
- esp.Parent = misc
- esp.BackgroundColor3 = Color3.new(1, 1, 1)
- esp.BackgroundTransparency = 1
- esp.Position = UDim2.new(0, 0, 0.215789467, 0)
- esp.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- esp.ZIndex = 10
- esp.Font = Enum.Font.Gotham
- esp.Text = "ESP"
- esp.TextColor3 = Color3.new(1, 1, 1)
- esp.TextScaled = true
- esp.TextSize = 14
- esp.TextWrapped = true
- esp.MouseButton1Click:Connect(function()
- Settings.ESP = not Settings.ESP
- if Settings.ESP then
- esp:WaitForChild("onoff").Text = "ON"
- esp:WaitForChild("onoff").TextColor3 = Green
- else
- esp:WaitForChild("onoff").Text = "OFF"
- esp:WaitForChild("onoff").TextColor3 = Red
- end
- end)
- onoff_4.Name = "onoff"
- onoff_4.Parent = esp
- onoff_4.BackgroundColor3 = Color3.new(1, 1, 1)
- onoff_4.BackgroundTransparency = 1
- onoff_4.Position = UDim2.new(1.14371252, 0, 0, 0)
- onoff_4.Size = UDim2.new(0.341317356, 0, 1, 0)
- onoff_4.ZIndex = 10
- onoff_4.Font = Enum.Font.Cartoon
- onoff_4.Text = "OFF"
- onoff_4.TextColor3 = Color3.new(1, 0, 0)
- onoff_4.TextScaled = true
- onoff_4.TextSize = 14
- onoff_4.TextWrapped = true
- nofall.Name = "nofall"
- nofall.Parent = misc
- nofall.BackgroundColor3 = Color3.new(1, 1, 1)
- nofall.BackgroundTransparency = 1
- nofall.Position = UDim2.new(0, 0, 0.49473685, 0)
- nofall.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- nofall.ZIndex = 10
- nofall.Font = Enum.Font.Gotham
- nofall.Text = "No Fall Damage"
- nofall.TextColor3 = Color3.new(1, 1, 1)
- nofall.TextScaled = true
- nofall.TextSize = 14
- nofall.TextWrapped = true
- nofall.MouseButton1Click:Connect(function()
- Settings.NoFallDamage = not Settings.NoFallDamage
- if Settings.NoFallDamage then
- nofall:WaitForChild("onoff").Text = "ON"
- nofall:WaitForChild("onoff").TextColor3 = Green
- else
- nofall:WaitForChild("onoff").Text = "OFF"
- nofall:WaitForChild("onoff").TextColor3 = Red
- end
- end)
- onoff_5.Name = "onoff"
- onoff_5.Parent = nofall
- onoff_5.BackgroundColor3 = Color3.new(1, 1, 1)
- onoff_5.BackgroundTransparency = 1
- onoff_5.Position = UDim2.new(1.14371252, 0, 0, 0)
- onoff_5.Size = UDim2.new(0.341317356, 0, 1, 0)
- onoff_5.ZIndex = 10
- onoff_5.Font = Enum.Font.Cartoon
- onoff_5.Text = "OFF"
- onoff_5.TextColor3 = Color3.new(1, 0, 0)
- onoff_5.TextScaled = true
- onoff_5.TextSize = 14
- onoff_5.TextWrapped = true
- breakglass.Name = "breakglass"
- breakglass.Parent = misc
- breakglass.BackgroundColor3 = Color3.new(1, 1, 1)
- breakglass.BackgroundTransparency = 1
- breakglass.Position = UDim2.new(0, 0, 0.757894754, 0)
- breakglass.Size = UDim2.new(0.647286832, 0, 0.142105266, 0)
- breakglass.ZIndex = 10
- breakglass.Font = Enum.Font.Gotham
- breakglass.Text = "Break All Windows"
- breakglass.TextColor3 = Color3.new(1, 1, 1)
- breakglass.TextScaled = true
- breakglass.TextSize = 14
- breakglass.TextWrapped = true
- breakglass.MouseButton1Click:Connect(function()
- BreakWindows()
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(key,ischat)
- if ischat then return end
- if key.KeyCode == Enum.KeyCode.P then
- xd.Visible = not xd.Visible
- end
- end)
- Init()
- end
- CreateGUI()
- end
Add Comment
Please, Sign In to add comment