Charliezkie

PFX 2.0

Dec 16th, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 42.12 KB | None | 0 0
  1. if game:GetService('CoreGui'):FindFirstChild('PFX') then
  2.     game:GetService('CoreGui').PFX:Destroy()
  3. end
  4.  
  5. if PROTOSMASHER_LOADED and (not shared.repair) then
  6.     warn("Loading ProtoSmasher Fixes, Ty wally and Classy")--credits to wally
  7.     coroutine.wrap(function()
  8.         pcall(function()
  9.             loadstring(game:HttpGet("https://pastebin.com/raw/m8zyuQMv", true))()
  10.         end)
  11.     end)()
  12.     repeat wait() until shared.repair
  13. end
  14.  
  15. local getgc = (getgc or get_gc_objects);--200 iq for proto ;-;
  16. local getupvalues = getupvalues or debug.getupvalues;--also 200 for proto
  17. local setupvalue = setupvalue or debug.setupvalue;--another 200 for proto
  18. local getreg = getreg or debug.getregistry;
  19.  
  20. local Windows = {}
  21. local Spotted = {}
  22.  
  23. local V = Vector3.new()
  24. local Client = {}
  25.  
  26. for i,v in next, getgc() do
  27.     if network and gamelogic and effects and char then
  28.         break
  29.     end
  30.  
  31.     if type(v) == "function" then
  32.         for k,x in next, getupvalues(v) do
  33.             if type(x) == "table" then
  34.                 for Func, Name in next, x do
  35.                     if Func == "loadgrenade" and "loadgun" then
  36.                         Client.char = x
  37.                     elseif Func == "breakwindows" then
  38.                         Client.effects = x
  39.                     elseif Func == "add" then
  40.                         Client.network = x
  41.                     end
  42.                 end
  43.             end
  44.         end
  45.     end
  46. end
  47.  
  48. local settings = {
  49.     FallDamage = false,
  50.     InfFrags = false,
  51.     InfCreds = false,
  52.     Esp = false,
  53.     SpotAll = false,
  54.     BreakWindows = false,
  55.     InfJump = false,
  56.     NoClip = false,
  57.     NoRecoil = false,
  58.     NoFlash = false,
  59.     NoSway = false,
  60.     NoSpread = false,
  61.     InstaReload = false,
  62.     RapidFire = false,
  63.     FullAutox = false,
  64.     oneshot = false,
  65.     Spawn = false,
  66.     GunMods = false,
  67.     FireRate = false
  68. }
  69.  
  70. local version = 'v.2.0.b'
  71. local Updated = '8/15/2019'
  72. local DiscordLink = 'https://discord.gg/MyjGtee'
  73.  
  74. local GoodStat = 'Hooked, Secured, Ready to use'
  75. local MainFrameFail = 'Failed to hook mainframe'
  76. local HookFuncFail = 'Failed to Hook Functions'
  77. local Failure = 'Failed to Hook func, or Mainframe'
  78.  
  79. local P = game:GetService'Players'
  80. local client = game:GetService'Players'.LocalPlayer
  81.  
  82. if Client then
  83.     local LoadGun = Client.char.loadgun
  84.     local LoadFrag = Client.char.loadgrenade
  85.  
  86.     local Char = Client.char
  87.  
  88.     local Network = Client.network
  89.  
  90.     local Effects = Client.effects
  91.  
  92.     local Send = Network.send
  93.  
  94.     local function PlayerData()
  95.         for i, v in ipairs(game:GetService'Players':GetPlayers'') do
  96.             if v.TeamColor ~= client.TeamColor then
  97.                 table.insert(Spotted, v);
  98.             end;
  99.         end;
  100.         return Spotted
  101.     end
  102.    
  103.         function BreakWindex()--llol
  104.             for i,v in next, workspace:GetDescendants() do
  105.                 if v.Name:lower() == "window" then
  106.                     table.insert(Windows,v)
  107.                 end
  108.             end
  109.             Effects:breakwindows(Windows)
  110.         end
  111.             --[[do
  112.                 Funcs = debug.getupvalue(Network.add, 'funcs')
  113.                 if Funcs then
  114.        
  115.                 local OldNewBullet = Funcs.newbullet
  116.                     function Funcs.newbullet(...)
  117.                         local Args = {...}
  118.                         if settings.NoRecoil or settings.GunMods then Args[1].acceleration = Vector3.new(0,0,0) end
  119.                         return OldNewBullet(unpack(Args))
  120.                     end
  121.                     if settings.SpotAll then
  122.                         Funcs.spotplayer(PlayerData())
  123.                     end
  124.             end]]
  125.  
  126.             do
  127.                 Network.send = function(self, ...)
  128.                     local Args = {...};
  129.                     if #Args > 0 then
  130.                         local Name = Args[1];
  131.                         if Name == 'changehealthx' then
  132.                             if #Args > 4 and Args[5] == 'Falling' and settings.FallDamage then
  133.                                 return
  134.                             end
  135.                         --[[elseif settings.InfCreds then
  136.                             Funcs['updatemoney'](math.huge)
  137.                         end]]
  138.                     end
  139.                     return Send(self, ...)
  140.                 end
  141.             end
  142.  
  143.             --[[
  144.                 [TO DO LIST]
  145.                 {finished}
  146.             ]]
  147.             Char.loadgun = function(...)
  148.                 local args = {...}
  149.                 local GunData = args[2]
  150.  
  151.                 if settings.NoRecoil then
  152.                     GunData.camkickmin = V
  153.                     GunData.camkickmax = V
  154.                     GunData.aimcamkickmin = V
  155.                     GunData.aimcamkickmax = V
  156.                     GunData.aimtranskickmin = V
  157.                     GunData.aimtranskickmax = V
  158.                     GunData.transkickmin = V
  159.                     GunData.transkickmax = V
  160.                     GunData.rotkickmin = V
  161.                     GunData.rotkickmax = V
  162.                     GunData.aimrotkickmin = V
  163.                     GunData.aimrotkickmax = V
  164.                 end
  165.  
  166.                 if settings.NoFlash then
  167.                     GunData.hideflash = true
  168.                     GunData.hideminimap = true
  169.                 end
  170.  
  171.                 if settings.NoSway then
  172.                     GunData.swayamp = 0
  173.                     GunData.swayspeed = 0
  174.                     GunData.steadyspeed = 0
  175.                     GunData.breathspeed = 0
  176.                 end
  177.  
  178.                 if settings.NoSpread then
  179.                     GunData.hipfirespreadrecover = 100
  180.                     GunData.hipfirespread = 0
  181.                     GunData.hipfirestability = 0
  182.                 end
  183.  
  184.                 if settings.RapidFire then
  185.                     GunData.firerate = 1500
  186.                     GunData.variablefirerate = false
  187.                     GunData.firemodes = {true, 3, 1}
  188.                     GunData.requirechamber = false
  189.                 end
  190.  
  191.                 if settings.FullAutox then
  192.                     GunData.variablefirerate = false
  193.                     GunData.firemodes = {true, 3, 1}
  194.                     GunData.requirechamber = false
  195.                 end
  196.  
  197.                 --[[if settings.FireRate then
  198.                     GunData.firerate = FireRateTXT.Text
  199.                     GunData.variablefirerate = false
  200.                     GunData.requirechamber = false
  201.                 end]]
  202.  
  203.                 if settings.InstaReload then
  204.                     for i, v in next, GunData.animations do
  205.                         if string.find(string.lower(i), "reload") then
  206.                             GunData.animations[i].timescale = 0.0
  207.                         end
  208.                     end
  209.                 end
  210.  
  211.                 if settings.GunMods then
  212.                     GunData.hideflash = true;
  213.                     GunData.hideminimap = true;
  214.                     GunData.camkickmin = V;
  215.                     GunData.camkickmax = V;
  216.                     GunData.aimcamkickmin = V;
  217.                     GunData.aimcamkickmax = V;
  218.                     GunData.aimtranskickmin = V;
  219.                     GunData.aimtranskickmax = V;
  220.                     GunData.transkickmin = V;
  221.                     GunData.transkickmax = V;
  222.                     GunData.rotkickmin = V;
  223.                     GunData.rotkickmax = V;
  224.                     GunData.aimrotkickmin = V;
  225.                     GunData.aimrotkickmax = V;
  226.                     GunData.swayamp = 0;
  227.                     GunData.swayspeed = 0;
  228.                     GunData.steadyspeed = 0;
  229.                     GunData.breathspeed = 0;
  230.                     GunData.variablefirerate = false;
  231.                     GunData.firemodes = {true, 3, 1};
  232.                     GunData.requirechamber = false;
  233.                 end
  234.             args[2] = GunData
  235.             return LoadGun(unpack(args))
  236.         end
  237.  
  238.         function InfJumpers()--Made by Exploit Revived(Old Lx friend ;-; he quit xd)
  239.             local Player = game:GetService("Players").LocalPlayer;
  240.             local UserInputService = game:GetService("UserInputService");
  241.             local Bricks = {};
  242.             local Space;
  243.             local WalkInAir = false;
  244.            
  245.             UserInputService.InputBegan:Connect(function(
  246.                 InputObject,
  247.                 GameProcessedEvent
  248.                 )
  249.                 if (
  250.                     (not GameProcessedEvent) and
  251.                     (InputObject.UserInputType == Enum.UserInputType.Keyboard)
  252.                 ) then
  253.                     if (InputObject.KeyCode == Enum.KeyCode.P) then
  254.                         for Key, Value in next, Bricks do
  255.                             Value:Destroy();
  256.                         end;
  257.                     elseif (InputObject.KeyCode == Enum.KeyCode.Space) then
  258.                         Space = true;
  259.                     elseif (InputObject.KeyCode == Enum.KeyCode.L) then
  260.                         WalkInAir = (not WalkInAir);
  261.                     end;
  262.                 end;
  263.             end);
  264.  
  265.             UserInputService.InputEnded:Connect(function(
  266.                 InputObject,
  267.                 GameProcessedEvent
  268.                 )
  269.                 if (
  270.                     (not GameProcessedEvent) and
  271.                     (InputObject.UserInputType == Enum.UserInputType.Keyboard)
  272.                 ) then
  273.                     if (InputObject.KeyCode == Enum.KeyCode.Space) then
  274.                         Space = nil;
  275.                     end;
  276.                 end;
  277.             end);
  278.  
  279.             local LastPosition = Vector3.new(0, 0, 0);
  280.  
  281.             game:GetService("RunService").RenderStepped:Connect(function()
  282.                 local PositionChanged;
  283.                 local Torso = (
  284.                     Player.Character or
  285.                     Player.CharacterAdded:wait()
  286.                 ):WaitForChild("Torso");
  287.                 if ((Torso.Position - LastPosition).Magnitude > 0.75) then
  288.                     PositionChanged = true;
  289.                 end;
  290.  
  291.                 if (Space or (WalkInAir and PositionChanged)) then
  292.                     local FlyBrick = Instance.new("Part",
  293.                     (
  294.                         Torso:GetChildren()[1] or
  295.                         Torso
  296.                     )
  297.                 );
  298.  
  299.                 FlyBrick.Transparency = 1;
  300.                 FlyBrick.Anchored = true;
  301.  
  302.                 FlyBrick.CFrame = (
  303.                     Torso.CFrame *
  304.                     CFrame.new(0, -2.25, 0)
  305.                 );
  306.  
  307.                 FlyBrick.Size = Vector3.new(5, 0.05, 5);
  308.                 FlyBrick.BrickColor = BrickColor.new("Institutional white");
  309.                 FlyBrick.Locked = true;
  310.                 FlyBrick.TopSurface = Enum.SurfaceType.SmoothNoOutlines;
  311.                 FlyBrick.BottomSurface = FlyBrick.TopSurface;
  312.                 FlyBrick.RightSurface = FlyBrick.TopSurface;
  313.                 FlyBrick.LeftSurface = FlyBrick.TopSurface;
  314.                 FlyBrick.FrontSurface = FlyBrick.TopSurface;
  315.                 FlyBrick.BackSurface = FlyBrick.TopSurface;
  316.                 Bricks[#Bricks + 1] = FlyBrick;
  317.             end;
  318.             LastPosition = Torso.Position;
  319.         end)  
  320.     end
  321.  
  322.         function CreateUI()
  323.             local PFX = Instance.new("ScreenGui")
  324.             local MainFrame = Instance.new("Frame")
  325.             local JustAPlate = Instance.new("TextLabel")
  326.             local Version = Instance.new("TextLabel")
  327.             local SideTItle = Instance.new("ImageLabel")
  328.             local MainTitle = Instance.new("ImageLabel")
  329.             local Exit = Instance.new("TextButton")
  330.             local Line1 = Instance.new("Frame")
  331.             local Line2 = Instance.new("Frame")
  332.             local NoFallDamageBTN = Instance.new("TextButton")
  333.             local Frame = Instance.new("Frame")
  334.             local ToggleKey = Instance.new("TextLabel")
  335.             local NoClipBTN = Instance.new("TextButton")
  336.             local Frame_2 = Instance.new("Frame")
  337.             local InfJumpBTN = Instance.new("TextButton")
  338.             local Frame_3 = Instance.new("Frame")
  339.             local breakWindowsBTN = Instance.new("TextButton")
  340.             local Frame_4 = Instance.new("Frame")
  341.             local ESPBTN = Instance.new("TextButton")
  342.             local Frame_5 = Instance.new("Frame")
  343.             local Status = Instance.new("TextLabel")
  344.             local Credits = Instance.new("TextLabel")
  345.             local NoRecoilBTN = Instance.new("TextButton")
  346.             local Frame_6 = Instance.new("Frame")
  347.             local NoFlashBTN = Instance.new("TextButton")
  348.             local Frame_7 = Instance.new("Frame")
  349.             local NoSwayBTN = Instance.new("TextButton")
  350.             local Frame_8 = Instance.new("Frame")
  351.             local FullAutoBTN = Instance.new("TextButton")
  352.             local Frame_9 = Instance.new("Frame")
  353.             local InstaReloadBTN = Instance.new("TextButton")
  354.             local Frame_10 = Instance.new("Frame")
  355.             local RapidFireBTN = Instance.new("TextButton")
  356.             local Frame_11 = Instance.new("Frame")
  357.             local GunModBTN = Instance.new("TextButton")
  358.             local Frame_12 = Instance.new("Frame")
  359.             local DiscordInfo = Instance.new("TextLabel")
  360.             local UpdateInfo = Instance.new("TextLabel")
  361.            
  362.             PFX.Name = "PFX"
  363.             PFX.Parent = game.CoreGui
  364.            
  365.             MainFrame.Name = "MainFrame"
  366.             MainFrame.Parent = PFX
  367.             MainFrame.Active = true
  368.             MainFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  369.             MainFrame.BackgroundTransparency = 0.0099999997764826
  370.             MainFrame.BorderColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  371.             MainFrame.BorderSizePixel = 0
  372.             MainFrame.Position = UDim2.new(0.148790941, 0, 0.384246916, 0)
  373.             MainFrame.Selectable = true
  374.             MainFrame.Size = UDim2.new(0, 435, 0, 325)
  375.            
  376.             JustAPlate.Name = "JustAPlate"
  377.             JustAPlate.Parent = MainFrame
  378.             JustAPlate.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  379.             JustAPlate.BorderColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  380.             JustAPlate.BorderSizePixel = 0
  381.             JustAPlate.Position = UDim2.new(0, 0, 0.0215384606, 0)
  382.             JustAPlate.Size = UDim2.new(0, 435, 0, 32)
  383.             JustAPlate.Font = Enum.Font.SourceSans
  384.             JustAPlate.Text = ""
  385.             JustAPlate.TextColor3 = Color3.new(1, 1, 1)
  386.             JustAPlate.TextSize = 25
  387.            
  388.             Version.Name = "Version"
  389.             Version.Parent = JustAPlate
  390.             Version.BackgroundColor3 = Color3.new(1, 1, 1)
  391.             Version.BackgroundTransparency = 1
  392.             Version.Position = UDim2.new(0.572413802, 0, 0.1875, 0)
  393.             Version.Size = UDim2.new(0, 97, 0, 26)
  394.             Version.Font = Enum.Font.SourceSans
  395.             Version.Text = "v.1.7.b"
  396.             Version.TextColor3 = Color3.new(1, 1, 1)
  397.             Version.TextSize = 20
  398.             Version.TextXAlignment = Enum.TextXAlignment.Left
  399.            
  400.             SideTItle.Name = "SideTItle"
  401.             SideTItle.Parent = JustAPlate
  402.             SideTItle.BackgroundColor3 = Color3.new(1, 1, 1)
  403.             SideTItle.BackgroundTransparency = 1
  404.             SideTItle.Position = UDim2.new(0.0206896197, 0, -0.65625, 0)
  405.             SideTItle.Size = UDim2.new(0, 131, 0, 80)
  406.             SideTItle.Image = "rbxassetid://3632678994"
  407.            
  408.             MainTitle.Name = "MainTitle"
  409.             MainTitle.Parent = JustAPlate
  410.             MainTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  411.             MainTitle.BackgroundTransparency = 1
  412.             MainTitle.Position = UDim2.new(0.190804526, 0, -1.34375, 0)
  413.             MainTitle.Size = UDim2.new(0, 180, 0, 121)
  414.             MainTitle.Image = "rbxassetid://3632679485"
  415.            
  416.             Exit.Name = "Exit"
  417.             Exit.Parent = JustAPlate
  418.             Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  419.             Exit.BackgroundTransparency = 1
  420.             Exit.Position = UDim2.new(0.912643671, 0, 0, 0)
  421.             Exit.Size = UDim2.new(0, 38, 0, 32)
  422.             Exit.Font = Enum.Font.SourceSans
  423.             Exit.Text = "❌ "
  424.             Exit.TextColor3 = Color3.new(0, 0, 0)
  425.             Exit.TextSize = 14
  426.            
  427.             Line1.Name = "Line1"
  428.             Line1.Parent = MainFrame
  429.             Line1.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  430.             Line1.BackgroundTransparency = 0.20000000298023
  431.             Line1.BorderSizePixel = 0
  432.             Line1.Position = UDim2.new(-0.0183908045, 0, 0.0923076943, 0)
  433.             Line1.Size = UDim2.new(0, 8, 0, 302)
  434.            
  435.             Line2.Name = "Line2"
  436.             Line2.Parent = MainFrame
  437.             Line2.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  438.             Line2.BackgroundTransparency = 0.20000000298023
  439.             Line2.BorderSizePixel = 0
  440.             Line2.Position = UDim2.new(0, 0, 1.00000012, 0)
  441.             Line2.Size = UDim2.new(0, 423, 0, 7)
  442.            
  443.             NoFallDamageBTN.Name = "NoFallDamageBTN"
  444.             NoFallDamageBTN.Parent = MainFrame
  445.             NoFallDamageBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  446.             NoFallDamageBTN.BackgroundTransparency = 0.5
  447.             NoFallDamageBTN.BorderSizePixel = 0
  448.             NoFallDamageBTN.Position = UDim2.new(0.0620689653, 0, 0.144615382, 0)
  449.             NoFallDamageBTN.Size = UDim2.new(0, 104, 0, 28)
  450.             NoFallDamageBTN.Font = Enum.Font.SourceSans
  451.             NoFallDamageBTN.Text = "No Fall Damage"
  452.             NoFallDamageBTN.TextColor3 = Color3.new(1, 1, 1)
  453.             NoFallDamageBTN.TextSize = 18
  454.            
  455.             Frame.Parent = NoFallDamageBTN
  456.             Frame.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  457.             Frame.BorderSizePixel = 0
  458.             Frame.Position = UDim2.new(0, 0, 0.928571701, 0)
  459.             Frame.Size = UDim2.new(0, 104, 0, 2)
  460.            
  461.             ToggleKey.Name = "ToggleKey"
  462.             ToggleKey.Parent = MainFrame
  463.             ToggleKey.BackgroundColor3 = Color3.new(1, 1, 1)
  464.             ToggleKey.BackgroundTransparency = 1
  465.             ToggleKey.Position = UDim2.new(0.751724124, 0, 0.916923285, 0)
  466.             ToggleKey.Size = UDim2.new(0, 108, 0, 26)
  467.             ToggleKey.Font = Enum.Font.SourceSans
  468.             ToggleKey.Text = "Press 'p' to Toggle"
  469.             ToggleKey.TextColor3 = Color3.new(1, 1, 1)
  470.             ToggleKey.TextSize = 14
  471.            
  472.             NoClipBTN.Name = "NoClipBTN"
  473.             NoClipBTN.Parent = MainFrame
  474.             NoClipBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  475.             NoClipBTN.BackgroundTransparency = 0.5
  476.             NoClipBTN.BorderSizePixel = 0
  477.             NoClipBTN.Position = UDim2.new(0.358620673, 0, 0.141538516, 0)
  478.             NoClipBTN.Size = UDim2.new(0, 104, 0, 28)
  479.             NoClipBTN.Font = Enum.Font.SourceSans
  480.             NoClipBTN.Text = "NoClip: OFF"
  481.             NoClipBTN.TextColor3 = Color3.new(1, 1, 1)
  482.             NoClipBTN.TextSize = 20
  483.            
  484.             Frame_2.Parent = NoClipBTN
  485.             Frame_2.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  486.             Frame_2.BorderSizePixel = 0
  487.             Frame_2.Position = UDim2.new(0, 0, 0.928571701, 0)
  488.             Frame_2.Size = UDim2.new(0, 104, 0, 2)
  489.            
  490.             InfJumpBTN.Name = "InfJumpBTN"
  491.             InfJumpBTN.Parent = MainFrame
  492.             InfJumpBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  493.             InfJumpBTN.BackgroundTransparency = 0.5
  494.             InfJumpBTN.BorderSizePixel = 0
  495.             InfJumpBTN.Position = UDim2.new(0.668965459, 0, 0.144615352, 0)
  496.             InfJumpBTN.Size = UDim2.new(0, 104, 0, 28)
  497.             InfJumpBTN.Font = Enum.Font.SourceSans
  498.             InfJumpBTN.Text = "Inf Jump"
  499.             InfJumpBTN.TextColor3 = Color3.new(1, 1, 1)
  500.             InfJumpBTN.TextSize = 20
  501.            
  502.             Frame_3.Parent = InfJumpBTN
  503.             Frame_3.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  504.             Frame_3.BorderSizePixel = 0
  505.             Frame_3.Position = UDim2.new(0, 0, 0.928571701, 0)
  506.             Frame_3.Size = UDim2.new(0, 104, 0, 2)
  507.            
  508.             breakWindowsBTN.Name = "breakWindowsBTN"
  509.             breakWindowsBTN.Parent = MainFrame
  510.             breakWindowsBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  511.             breakWindowsBTN.BackgroundTransparency = 0.5
  512.             breakWindowsBTN.BorderSizePixel = 0
  513.             breakWindowsBTN.Position = UDim2.new(0.358620673, 0, 0.279999971, 0)
  514.             breakWindowsBTN.Size = UDim2.new(0, 104, 0, 28)
  515.             breakWindowsBTN.Font = Enum.Font.SourceSans
  516.             breakWindowsBTN.Text = "Break Windows"
  517.             breakWindowsBTN.TextColor3 = Color3.new(1, 1, 1)
  518.             breakWindowsBTN.TextSize = 19
  519.            
  520.             Frame_4.Parent = breakWindowsBTN
  521.             Frame_4.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  522.             Frame_4.BorderSizePixel = 0
  523.             Frame_4.Position = UDim2.new(0, 0, 0.928571701, 0)
  524.             Frame_4.Size = UDim2.new(0, 104, 0, 2)
  525.            
  526.             ESPBTN.Name = "ESPBTN"
  527.             ESPBTN.Parent = MainFrame
  528.             ESPBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  529.             ESPBTN.BackgroundTransparency = 0.5
  530.             ESPBTN.BorderSizePixel = 0
  531.             ESPBTN.Position = UDim2.new(0.0620689653, 0, 0.280000001, 0)
  532.             ESPBTN.Size = UDim2.new(0, 104, 0, 28)
  533.             ESPBTN.Font = Enum.Font.SourceSans
  534.             ESPBTN.Text = "Esp: OFF"
  535.             ESPBTN.TextColor3 = Color3.new(1, 1, 1)
  536.             ESPBTN.TextSize = 20
  537.            
  538.             Frame_5.Parent = ESPBTN
  539.             Frame_5.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  540.             Frame_5.BorderSizePixel = 0
  541.             Frame_5.Position = UDim2.new(0, 0, 0.928571701, 0)
  542.             Frame_5.Size = UDim2.new(0, 104, 0, 2)
  543.            
  544.             Status.Name = "Status"
  545.             Status.Parent = MainFrame
  546.             Status.BackgroundColor3 = Color3.new(1, 1, 1)
  547.             Status.BackgroundTransparency = 2
  548.             Status.Position = UDim2.new(0.0482758619, 0, 0.86461544, 0)
  549.             Status.Size = UDim2.new(0, 392, 0, 17)
  550.             Status.Font = Enum.Font.SourceSans
  551.             Status.Text = "Functionality Status : NIL"
  552.             Status.TextColor3 = Color3.new(1, 0.141176, 0.0666667)
  553.             Status.TextSize = 20
  554.             Status.TextXAlignment = Enum.TextXAlignment.Left
  555.            
  556.             Credits.Name = "Credits"
  557.             Credits.Parent = MainFrame
  558.             Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  559.             Credits.BackgroundTransparency = 2
  560.             Credits.Position = UDim2.new(0.0482758619, 0, 0.916923106, 0)
  561.             Credits.Size = UDim2.new(0, 392, 0, 17)
  562.             Credits.Font = Enum.Font.SourceSans
  563.             Credits.Text = "Made by ThisW0ntGetBanned#0001"
  564.             Credits.TextColor3 = Color3.new(1, 0.454902, 0.0941177)
  565.             Credits.TextSize = 20
  566.             Credits.TextXAlignment = Enum.TextXAlignment.Left
  567.            
  568.             NoRecoilBTN.Name = "NoRecoilBTN"
  569.             NoRecoilBTN.Parent = MainFrame
  570.             NoRecoilBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  571.             NoRecoilBTN.BackgroundTransparency = 0.5
  572.             NoRecoilBTN.BorderSizePixel = 0
  573.             NoRecoilBTN.Position = UDim2.new(0.0620689392, 0, 0.412307739, 0)
  574.             NoRecoilBTN.Size = UDim2.new(0, 104, 0, 28)
  575.             NoRecoilBTN.Font = Enum.Font.SourceSans
  576.             NoRecoilBTN.Text = "No Recoil"
  577.             NoRecoilBTN.TextColor3 = Color3.new(1, 1, 1)
  578.             NoRecoilBTN.TextSize = 20
  579.            
  580.             Frame_6.Parent = NoRecoilBTN
  581.             Frame_6.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  582.             Frame_6.BorderSizePixel = 0
  583.             Frame_6.Position = UDim2.new(0, 0, 0.928571701, 0)
  584.             Frame_6.Size = UDim2.new(0, 104, 0, 2)
  585.            
  586.             NoFlashBTN.Name = "NoFlashBTN"
  587.             NoFlashBTN.Parent = MainFrame
  588.             NoFlashBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  589.             NoFlashBTN.BackgroundTransparency = 0.5
  590.             NoFlashBTN.BorderSizePixel = 0
  591.             NoFlashBTN.Position = UDim2.new(0.358620733, 0, 0.412307709, 0)
  592.             NoFlashBTN.Size = UDim2.new(0, 104, 0, 28)
  593.             NoFlashBTN.Font = Enum.Font.SourceSans
  594.             NoFlashBTN.Text = "No Flash"
  595.             NoFlashBTN.TextColor3 = Color3.new(1, 1, 1)
  596.             NoFlashBTN.TextSize = 20
  597.            
  598.             Frame_7.Parent = NoFlashBTN
  599.             Frame_7.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  600.             Frame_7.BorderSizePixel = 0
  601.             Frame_7.Position = UDim2.new(0, 0, 0.928571701, 0)
  602.             Frame_7.Size = UDim2.new(0, 104, 0, 2)
  603.            
  604.             NoSwayBTN.Name = "NoSwayBTN"
  605.             NoSwayBTN.Parent = MainFrame
  606.             NoSwayBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  607.             NoSwayBTN.BackgroundTransparency = 0.5
  608.             NoSwayBTN.BorderSizePixel = 0
  609.             NoSwayBTN.Position = UDim2.new(0.666666687, 0, 0.280000031, 0)
  610.             NoSwayBTN.Size = UDim2.new(0, 104, 0, 28)
  611.             NoSwayBTN.Font = Enum.Font.SourceSans
  612.             NoSwayBTN.Text = "No Sway"
  613.             NoSwayBTN.TextColor3 = Color3.new(1, 1, 1)
  614.             NoSwayBTN.TextSize = 20
  615.            
  616.             Frame_8.Parent = NoSwayBTN
  617.             Frame_8.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  618.             Frame_8.BorderSizePixel = 0
  619.             Frame_8.Position = UDim2.new(0, 0, 0.928571701, 0)
  620.             Frame_8.Size = UDim2.new(0, 104, 0, 2)
  621.            
  622.             FullAutoBTN.Name = "FullAutoBTN"
  623.             FullAutoBTN.Parent = MainFrame
  624.             FullAutoBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  625.             FullAutoBTN.BackgroundTransparency = 0.5
  626.             FullAutoBTN.BorderSizePixel = 0
  627.             FullAutoBTN.Position = UDim2.new(0.664367855, 0, 0.412307739, 0)
  628.             FullAutoBTN.Size = UDim2.new(0, 104, 0, 28)
  629.             FullAutoBTN.Font = Enum.Font.SourceSans
  630.             FullAutoBTN.Text = "Full Auto"
  631.             FullAutoBTN.TextColor3 = Color3.new(1, 1, 1)
  632.             FullAutoBTN.TextSize = 20
  633.            
  634.             Frame_9.Parent = FullAutoBTN
  635.             Frame_9.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  636.             Frame_9.BorderSizePixel = 0
  637.             Frame_9.Position = UDim2.new(0, 0, 0.928571701, 0)
  638.             Frame_9.Size = UDim2.new(0, 104, 0, 2)
  639.            
  640.             InstaReloadBTN.Name = "InstaReloadBTN"
  641.             InstaReloadBTN.Parent = MainFrame
  642.             InstaReloadBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  643.             InstaReloadBTN.BackgroundTransparency = 0.5
  644.             InstaReloadBTN.BorderSizePixel = 0
  645.             InstaReloadBTN.Position = UDim2.new(0.0620689988, 0, 0.538461566, 0)
  646.             InstaReloadBTN.Size = UDim2.new(0, 104, 0, 28)
  647.             InstaReloadBTN.Font = Enum.Font.SourceSans
  648.             InstaReloadBTN.Text = "Insta Reload"
  649.             InstaReloadBTN.TextColor3 = Color3.new(1, 1, 1)
  650.             InstaReloadBTN.TextSize = 20
  651.            
  652.             Frame_10.Parent = InstaReloadBTN
  653.             Frame_10.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  654.             Frame_10.BorderSizePixel = 0
  655.             Frame_10.Position = UDim2.new(0, 0, 0.928571701, 0)
  656.             Frame_10.Size = UDim2.new(0, 104, 0, 2)
  657.            
  658.             RapidFireBTN.Name = "RapidFireBTN"
  659.             RapidFireBTN.Parent = MainFrame
  660.             RapidFireBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  661.             RapidFireBTN.BackgroundTransparency = 0.5
  662.             RapidFireBTN.BorderSizePixel = 0
  663.             RapidFireBTN.Position = UDim2.new(0.356321901, 0, 0.538461566, 0)
  664.             RapidFireBTN.Size = UDim2.new(0, 104, 0, 28)
  665.             RapidFireBTN.Font = Enum.Font.SourceSans
  666.             RapidFireBTN.Text = "Rapid Fire"
  667.             RapidFireBTN.TextColor3 = Color3.new(1, 1, 1)
  668.             RapidFireBTN.TextSize = 20
  669.            
  670.             Frame_11.Parent = RapidFireBTN
  671.             Frame_11.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  672.             Frame_11.BorderSizePixel = 0
  673.             Frame_11.Position = UDim2.new(0, 0, 0.928571701, 0)
  674.             Frame_11.Size = UDim2.new(0, 104, 0, 2)
  675.            
  676.             GunModBTN.Name = "GunModBTN"
  677.             GunModBTN.Parent = MainFrame
  678.             GunModBTN.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  679.             GunModBTN.BackgroundTransparency = 0.5
  680.             GunModBTN.BorderSizePixel = 0
  681.             GunModBTN.Position = UDim2.new(0.664367855, 0, 0.538461566, 0)
  682.             GunModBTN.Size = UDim2.new(0, 104, 0, 28)
  683.             GunModBTN.Font = Enum.Font.SourceSans
  684.             GunModBTN.Text = "Gun Mods(All)"
  685.             GunModBTN.TextColor3 = Color3.new(1, 1, 1)
  686.             GunModBTN.TextSize = 20
  687.            
  688.             Frame_12.Parent = GunModBTN
  689.             Frame_12.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  690.             Frame_12.BorderSizePixel = 0
  691.             Frame_12.Position = UDim2.new(0, 0, 0.928571701, 0)
  692.             Frame_12.Size = UDim2.new(0, 104, 0, 2)
  693.            
  694.             DiscordInfo.Name = "DiscordInfo"
  695.             DiscordInfo.Parent = MainFrame
  696.             DiscordInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  697.             DiscordInfo.BackgroundTransparency = 2
  698.             DiscordInfo.Position = UDim2.new(0.0482758619, 0, 0.76000011, 0)
  699.             DiscordInfo.Size = UDim2.new(0, 392, 0, 17)
  700.             DiscordInfo.Font = Enum.Font.SourceSans
  701.             DiscordInfo.Text = "Discord : "
  702.             DiscordInfo.TextColor3 = Color3.new(0.156863, 0.211765, 0.713726)
  703.             DiscordInfo.TextSize = 20
  704.             DiscordInfo.TextXAlignment = Enum.TextXAlignment.Left
  705.            
  706.             UpdateInfo.Name = "UpdateInfo"
  707.             UpdateInfo.Parent = MainFrame
  708.             UpdateInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  709.             UpdateInfo.BackgroundTransparency = 2
  710.             UpdateInfo.Position = UDim2.new(0.0482758619, 0, 0.812307775, 0)
  711.             UpdateInfo.Size = UDim2.new(0, 392, 0, 17)
  712.             UpdateInfo.Font = Enum.Font.SourceSans
  713.             UpdateInfo.Text = "Last Updated : "
  714.             UpdateInfo.TextColor3 = Color3.new(0.333333, 1, 0)
  715.             UpdateInfo.TextSize = 20
  716.             UpdateInfo.TextXAlignment = Enum.TextXAlignment.Left                                      
  717.            
  718.             UpdateInfo.Text = 'Last Updated : '..tostring(Updated)
  719.             DiscordInfo.Text = 'Discord : '..DiscordLink
  720.             Version.Text = tostring(version)
  721.  
  722.             if Client then
  723.                 Status.Text = 'Functionality Status : '..GoodStat
  724.             end
  725.  
  726.             if not Client then
  727.                 Status.Text = 'Functionality Status : '..MainFrameFail
  728.             end
  729.  
  730.             if not Client and not Network then
  731.                 Status.Text = 'Functionality Status : '..Failure
  732.             end
  733.  
  734.             MainFrame.Draggable = true
  735.  
  736.             Exit.MouseButton1Click:connect(function()
  737.                 if game:GetService('CoreGui'):FindFirstChild('PFX') then
  738.                     game:GetService('CoreGui').PFX:Destroy()
  739.                 end
  740.             end)
  741.  
  742.             --[[SpotAllBTN.MouseButton1Click:connect(function()
  743.                 settings.SpotAll = not settings.SpotAll
  744.                 if settings.SpotAll then
  745.                     for i, v in next, PlayerData() do
  746.                         Funcs.spotplayer(v)
  747.                     end
  748.                 end
  749.             end)]]
  750.  
  751.             NoFallDamageBTN.MouseButton1Click:connect(function()
  752.                 settings.FallDamage = not settings.FallDamage
  753.                 if settings.FallDamage then
  754.                 end
  755.             end)
  756.  
  757.             NoClipBTN.MouseButton1Click:connect(function()
  758.                 if NoClipBTN.Text == "NoClip: OFF" then
  759.                     settings.NoClip = true
  760.                     NoClipBTN.Text = "NoClip: ON"
  761.                     NoClipBTN.TextColor3 = Color3.new(0,185,0)
  762.                     Stepped = game:GetService("RunService").Stepped:Connect(function()
  763.                         if not settings.NoClip == false then
  764.                             for a, b in pairs(Workspace:GetChildren()) do
  765.                                 if b.Name == client.Name then
  766.                                     for i, v in pairs(Workspace[client.Name]:GetChildren()) do
  767.                                         if v:IsA("BasePart") then
  768.                                             v.CanCollide = false
  769.                                         end
  770.                                     end
  771.                                 end
  772.                             end
  773.                         else
  774.                             Stepped:Disconnect()
  775.                         end
  776.                     end)
  777.                         elseif NoClipBTN.Text == "NoClip: ON" then
  778.                     settings.NoClip = false
  779.                     NoClipBTN.Text = "NoClip: OFF"
  780.                     NoClipBTN.TextColor3 = Color3.new(170,0,0)
  781.                 end
  782.             end)
  783.  
  784.             --[[InfCredsBTN.MouseButton1Click:connect(function()
  785.                 settings.InfCreds = not settings.InfCreds
  786.                 if settings.InfCreds then
  787.                 end
  788.             end)]]
  789.            
  790.             InfJumpBTN.MouseButton1Click:connect(function()
  791.                 settings.InfJump = not settings.InfJump
  792.                 if settings.InfJump then
  793.                     InfJumpers()
  794.                 end
  795.             end)
  796.            
  797.             breakWindowsBTN.MouseButton1Click:connect(function()
  798.                 settings.BreakWindows = not settings.BreakWindows
  799.                 if settings.BreakWindows then
  800.                     BreakWindex()
  801.                 end
  802.             end)
  803.            
  804.             ESPBTN.MouseButton1Click:connect(function()
  805.                 settings.Esp = not settings.Esp
  806.                 if settings.Esp then
  807.                     ESPBTN.Text = "Esp: ON"
  808.                     ESPBTN.TextColor3 = Color3.new(0,185,0)
  809.                     for _,p in pairs(game:GetChildren()) do
  810.                         if p.ClassName == ("Players") then
  811.                         plrs = p
  812.                         end
  813.                      end
  814.    
  815.                      while true do
  816.                         wait(0.1)
  817.                         for _, v in pairs(plrs:GetChildren()) do
  818.                             if v.TeamColor ~= plrs.LocalPlayer.TeamColor and not v.Character.Head:FindFirstChild("BillboardGui") then
  819.                                 i = Instance.new("BillboardGui",v.Character.Head)
  820.                                 i.Active = true
  821.                                 i.AlwaysOnTop = true
  822.                                 i.Size = UDim2.new(1,0,1,0)
  823.                                 h = Instance.new("Frame",i)
  824.                                 h.Size = UDim2.new(2,0,1,0)
  825.                                 h.AnchorPoint = Vector2.new(0.25, 0)
  826.                                 h.BackgroundColor3 = Color3.new(1,0,0)
  827.                                 h.BorderSizePixel = 0
  828.                                 h.BackgroundTransparency = 0.4
  829.                                
  830.                                 i2 = Instance.new("BillboardGui",v.Character.Torso)
  831.                                 i2.Active = true
  832.                                 i2.AlwaysOnTop = true
  833.                                 i2.Size = UDim2.new(2,0,2,0)
  834.                                 t = Instance.new("Frame",i2)
  835.                                 t.Size = UDim2.new(1,0,1,0)
  836.                                 t.AnchorPoint = Vector2.new(0, 0)
  837.                                 t.BackgroundColor3 = Color3.new(0,1,0)
  838.                                 t.BorderSizePixel = 0
  839.                                 t.BackgroundTransparency = 0.4
  840.                                
  841.                                 i3 = Instance.new("BillboardGui",v.Character["Left Arm"])
  842.                                 i3.Active = true
  843.                                 i3.AlwaysOnTop = true
  844.                                 i3.Size = UDim2.new(1,0,2,0)
  845.                                 la = Instance.new("Frame",i3)
  846.                                 la.Size = UDim2.new(1,0,1,0)
  847.                                 la.AnchorPoint = Vector2.new(0, 0)
  848.                                 la.BackgroundColor3 = Color3.new(0,0,1)
  849.                                 la.BorderSizePixel = 0
  850.                                 la.BackgroundTransparency = 0.4
  851.                                
  852.                                 i4 = Instance.new("BillboardGui",v.Character["Right Arm"])
  853.                                 i4.Active = true
  854.                                 i4.AlwaysOnTop = true
  855.                                 i4.Size = UDim2.new(1,0,2,0)
  856.                                 ra = Instance.new("Frame",i4)
  857.                                 ra.Size = UDim2.new(1,0,1,0)
  858.                                 ra.AnchorPoint = Vector2.new(0, 0)
  859.                                 ra.BackgroundColor3 = Color3.new(0,0,1)
  860.                                 ra.BorderSizePixel = 0
  861.                                 ra.BackgroundTransparency = 0.4
  862.                                
  863.                                 i5 = Instance.new("BillboardGui",v.Character["Left Leg"])
  864.                                 i5.Active = true
  865.                                 i5.AlwaysOnTop = true
  866.                                 i5.Size = UDim2.new(1,0,2,0)
  867.                                 ll = Instance.new("Frame",i5)
  868.                                 ll.Size = UDim2.new(1,0,1,0)
  869.                                 ll.AnchorPoint = Vector2.new(0, 0)
  870.                                 ll.BackgroundColor3 = Color3.new(0,0,1)
  871.                                 ll.BorderSizePixel = 0
  872.                                 ll.BackgroundTransparency = 0.4
  873.                                
  874.                                 i6 = Instance.new("BillboardGui",v.Character["Right Leg"])
  875.                                 i6.Active = true
  876.                                 i6.AlwaysOnTop = true
  877.                                 i6.Size = UDim2.new(1,0,2,0)
  878.                                 rl = Instance.new("Frame",i6)
  879.                                 rl.Size = UDim2.new(1,0,1,0)
  880.                                 rl.AnchorPoint = Vector2.new(0, 0)
  881.                                 rl.BackgroundColor3 = Color3.new(0,0,1)
  882.                                 rl.BorderSizePixel = 0
  883.                                 rl.BackgroundTransparency = 0.4
  884.                             end
  885.                         end
  886.                     end
  887.                 else
  888.                     ESPBTN.Text = "Esp: OFF"
  889.                     ESPBTN.TextColor3 = Color3.new(170,0,0)
  890.                     for i, v in next, game.Players:GetChildren() do--Could be very BUGGY
  891.                         v.Character.Head:FindFirstChild("BillboardGui"):Remove()
  892.                         v.Character.Torso:FindFirstChild("BillboardGui"):Remove()
  893.                         v.Character["Left Arm"]:FindFirstChild("BillboardGui"):Remove()
  894.                         v.Character["Right Arm"]:FindFirstChild("BillboardGui"):Remove()
  895.                         v.Character["Right Leg"]:FindFirstChild("BillboardGui"):Remove()
  896.                         v.Character["Left Leg"]:FindFirstChild("BillboardGui"):Remove()
  897.                     end
  898.                 end
  899.             end)
  900.            
  901.             --[[InFagsBTN.MouseButton1Click:connect(function()
  902.                 settings.InfFrags = not settings.InfFrags
  903.                 if settings.InfFrags then
  904.                 end
  905.             end)]]
  906.            
  907.             NoFlashBTN.MouseButton1Click:connect(function()
  908.                 settings.NoFlash = not settings.NoFlash
  909.                 if settings.NoFlash then
  910.                 end
  911.             end)
  912.            
  913.             NoSwayBTN.MouseButton1Click:connect(function()
  914.                 settings.NoSway = not settings.NoSway
  915.                 if settings.NoSway then
  916.                 end
  917.             end)
  918.            
  919.             --[[FireRateBTN.MouseButton1Click:connect(function()
  920.                 settings.FireRate = not settings.FireRate
  921.                 if settings.FireRate then
  922.                 end
  923.             end)]]
  924.  
  925.             GunModBTN.MouseButton1Click:connect(function()
  926.                 settings.GunMods = not settings.GunMods
  927.                 if settings.GunMods then
  928.                 end
  929.             end)
  930.            
  931.             InstaReloadBTN.MouseButton1Click:connect(function()
  932.                 settings.InstaReload = not settings.InstaReload
  933.                 if settings.InstaReload then
  934.                 end
  935.             end)
  936.            
  937.             RapidFireBTN.MouseButton1Click:connect(function()
  938.                 settings.RapidFire = not settings.RapidFire
  939.                 if settings.RapidFire then
  940.                 end
  941.             end)
  942.            
  943.             FullAutoBTN.MouseButton1Click:connect(function()
  944.                 settings.FullAutox = not settings.FullAutox
  945.                 if settings.FullAutox then
  946.                 end
  947.             end)
  948.            
  949.             NoRecoilBTN.MouseButton1Click:connect(function()
  950.                 settings.NoRecoil = not settings.NoRecoil
  951.                 if settings.NoRecoil then
  952.                 end
  953.             end)
  954.  
  955.             game:GetService("UserInputService").InputBegan:Connect(function(key,ischat)
  956.                 if ischat then return end
  957.                 if key.KeyCode == Enum.KeyCode.P then
  958.                     MainFrame.Visible = not MainFrame.Visible
  959.                 end
  960.             end)
  961.  
  962.             function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  963.  
  964.             local counter1 = 1
  965.    
  966.             while wait() do
  967.                 MainTitle.ImageColor3 = Color3.fromHSV(zigzag(counter1),1,1)
  968.                 SideTItle.ImageColor3 = Color3.fromHSV(zigzag(counter1),1,1)
  969.                 counter1 = counter1 + 0.01
  970.             end
  971.         end
  972.         CreateUI()
  973.     end
  974. end
Add Comment
Please, Sign In to add comment