Facebook
From Lai, 1 Year ago, written in Plain Text.
This paste is a reply to Re: loadstring(game:HttpGet( from OminousFade - view diff
Embed
Download Paste or View Raw
Hits: 160
  1. local ui = {}
  2. --
  3. local uis = game:GetService('UserInputService')
  4. local txtservice = game:GetService('TextService')
  5. local ts = game:GetService('TweenService')
  6. --
  7. local repo = "https://raw.githubusercontent.com/f1nobe7650/Lynx/main/"
  8. -- Getting the functions n stuff
  9. local Color = loadstring(game:HttpGet(repo .."Color.lua"))();
  10. local Math = loadstring(game:HttpGet(repo .."Math.lua"))();
  11. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Blissful4992/ESPs/main/3D Drawing Api.lua"))();
  12. local WatermarkLUA = loadstring(game:HttpGet("https://pastebin.com/raw/FhFwETdS"))();
  13. --
  14. local InputService, TeleportService, RunService, Workspace, Lighting, Players, HttpService, StarterGui, ReplicatedStorage, TweenService, VirtualUser, PathFindingService = game:GetService("UserInputService"), game:GetService("TeleportService"), game:GetService("RunService"), game:GetService("Workspace"), game:GetService("Lighting"), game:GetService("Players"), game:GetService("HttpService"), game:GetService("StarterGui"), game:GetService("ReplicatedStorage"), game:GetService("TweenService"), game:GetService("VirtualUser"), game:GetService("PathfindingService")
  15. local Mouse, Camera, LocalPlayer = Players.LocalPlayer:GetMouse(), Workspace.Camera, Players.LocalPlayer
  16. local NewVector2, NewVector3, NewCFrame, NewAngle, NewRGB, NewHex, NewInstance, Spawn, Wait, Create, Resume, SpinAngle, SpinSize, SpinSpeed, Huge, Pi, Clamp, Round, Abs, Floor, Random, Sin, Cos, Rad, Halfpi, Find, Clear, Sub, Upper, Lower, Insert = Vector2.new, Vector3.new, CFrame.new, CFrame.Angles, Color3.fromRGB, Color3.fromHex, Instance.new, task.spawn, task.wait, coroutine.create, coroutine.resume, 0, 25, 0, math.huge, math.pi, math.clamp, math.round, math.abs, math.floor, math.random, math.sin, math.cos, math.rad, math.pi/2, table.find, table.clear, string.sub, string.upper, string.lower, table.insert
  17. local Wanted, ShopPath, bodyParts, viewportSize = LocalPlayer:WaitForChild("DataFolder").Information.Wanted, workspace.Ignored.Shop, {}, Camera.ViewportSize
  18. local OldWanted = Wanted.Value
  19. --
  20. for i,v in pairs(LocalPlayer.Character:GetChildren()) do
  21.     if v:IsA("BasePart") then
  22.         table.insert(bodyParts,v.Name)
  23.     end
  24. end
  25. --
  26. local ColorCorrectionEffect = Instance.new("ColorCorrectionEffect", Lighting); ColorCorrectionEffect.Enabled = false; ColorCorrectionEffect.Brightness = 0; ColorCorrectionEffect.Contrast = 0; ColorCorrectionEffect.Saturation = 0; ColorCorrectionEffect.TintColor = Color3.fromRGB(255,255,255)
  27. --
  28. setfpscap(999)
  29. --
  30. getgenv().Lynx, getgenv().Visuals, getgenv().utility =
  31. {
  32.  ["Connections"] = {},
  33.  ["Account"] = {
  34.   Username = (lgVarsTbl and lgVarsTbl["DiscordUsername"] or "User"),
  35.   UserID = LocalPlayer.UserId,
  36.   Game = "Da Hood"
  37.  },
  38.  ["Locals"] = {
  39.   Window = {},
  40.  },
  41.  ["Silent"] = {
  42.   Target = nil,
  43.   Check = true,
  44.   Prediction = 0,
  45.   Resolver = {false, nil},
  46.   Offset = 0,
  47.   Check = true,
  48.   Hitpart = nil,
  49.   Position = nil,
  50.  },
  51.  ["Assist"] = {
  52.   Target = nil,
  53.   Prediction = 0,
  54.   Resolver = false,
  55.  },
  56.  ["Files"] = {
  57.   Folders = {"Lynx", "Lynx/Configs", "Lynx/Luas", "Lynx/Assets"},
  58.   Luas = {
  59.    ["ChinaHat"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/ChinaHat"),
  60.    ["Minecraft"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/Minecraft"),
  61.    ["BetterGame"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/BetterGame")
  62.   },
  63.  }
  64. },
  65. {
  66.  ["Drawings"] = {},
  67.  ["Bases"] = {},
  68.  ["Base"] = {},
  69.  ["Settings"] = {
  70.   ["Line"] = {
  71.       Thickness = 1,
  72.       Color = Color3.fromRGB(0, 255, 0)
  73.      },
  74.   ["Text"] = {
  75.    Size = 13,
  76.    Center = true,
  77.    Outline = true,
  78.    Font = Drawing.Fonts.Plex,
  79.    Color = Color3.fromRGB(255, 255, 255)
  80.   },
  81.   ["Square"] = {
  82.    Thickness = 1,
  83.    Color = Color3.fromRGB(255, 255, 255),
  84.    Filled = false,
  85.   },
  86.   ["Triangle"] = {
  87.    Color = Color3.fromRGB(255, 255, 255),
  88.    Filled = true,
  89.    Visible = false,
  90.    Thickness = 1,
  91.   },
  92.   ["Image"] = {
  93.    Transparency = 1,
  94.    Data = game:HttpGet("https://raw.githubusercontent.com/portallol/luna/main/Gradient.png")
  95.   }
  96.  },
  97.  ["KeyBindList"] = {}
  98. },
  99. {
  100.  ["Cursor"] = {Lines = {}, Outlines = {}, Dots = {}},
  101.  ["Renders"] = {},
  102.  ["Parts"] = {},
  103.  ["Desyncs"] = {
  104.   ["None"] = NewVector3(0, 0, 0),
  105.   ["HvH"] = NewVector3(0, -16384, 0),
  106.   ["AntiBot"] = NewVector3(0, 100, 0),
  107.   ["Horizontal"] = NewVector3(-16384, 0, 0),
  108.   ["Sky"] = NewVector3(0, 16384, 0),
  109.   ["Ground"] = NewVector3(0, -100, 0),
  110.   ["Desync"] = NewVector3(-16384, -16384, -16384)
  111.  },
  112.     ["Ignore"] = {},
  113.  ["LastTick"] = tick(),
  114.  ["ShitTalk"] = {
  115.   ["Lynx"] = {
  116.    "WHAT THE HELL IS AN AZURE ??",
  117.    "LYNX ONTOP LYNX ONTOP LYNX ONTOP",
  118.    "IS THAT LYNX???!! | .gg/lynx",
  119.    "Here is a wild lynx user in its habitat | .gg/lynx",
  120.    "LYNX >> ALL",
  121.    "LYNX ON TOP | .gg/lynx",
  122.    "LYNX > U",
  123.    ".gg/lynx"
  124.   },
  125.   ["AntiAim"] = {
  126.    "CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! CANT HIT ME?! ",
  127.    "Hmmm why arent u hitting me? Lynx too good XDDD",
  128.    "RESOLVER SUCCESSFULLY HIT 0 SHOTS",
  129.    "I think 0 prediction can hit more shots :(",
  130.    "Uphillian Aim???!!!!",
  131.    "Cmon man resolve my beanbot desync :^)",
  132.    "SKID DETECTED NOT RESOLVING!",
  133.    "Azure hits better cmon bro up the game :rofl:"
  134.   },
  135.  },
  136.  ["TracerTextures"] = {
  137.         ["1"] = 7136858729,
  138.         ["2"] = 6333823534,
  139.         ["3"] = 5864341017,
  140.   ["4"] = 9150663556,
  141.         ["5"] = 446111271,
  142.         ["6"] = 2950987173,
  143.         ["7"] = 7151778302,  
  144.         ["8"] = 11226108137,
  145.         ["9"] = 6511613786,
  146.     },
  147.  ["sfx"] = {
  148.         ["Bameware"] = "3124331820",
  149.         ["Skeet"] = "4753603610",
  150.         ["Bonk"] = "3765689841",
  151.         ["Lazer Beam"] = "130791043",
  152.         ["Windows XP Error"] = "160715357",
  153.         ["TF2 Hitsound"] = "3455144981",
  154.         ["TF2 Critical"] = "296102734",
  155.         ["TF2 Bat"] = "3333907347",
  156.         ['Bow Hit'] = "1053296915",
  157.         ['Bow'] = "3442683707",
  158.         ['OSU'] = "7147454322",
  159.         ['Minecraft Hit'] = "4018616850",
  160.         ['Steve'] = "5869422451",
  161.         ['1nn'] = "7349055654",
  162.         ['Rust'] = "3744371091",
  163.         ["TF2 Pan"] = "3431749479",
  164.         ["Neverlose"] = "8679627751",
  165.         ["Mario"] = "5709456554",
  166.     },
  167.  ["SkyBoxes"] = {
  168.         ["Normal"] = {600886090,600830446,600831635,600832720,600833862,600835177},
  169.         ["DoomSpire"] = {6050649245,6050664592,6050648475,6050644331,6050649718,6050650083},
  170.         ["CatGirl"] = {444167615,444167615,444167615,444167615,444167615,444167615},
  171.         ["Vibe"] = {1417494402,1417494030,1417494146,1417494253,1417494499,1417494643},
  172.         ["Blue Aurora"] = {12063984,12064107,12064152,12064121,12064115,12064131},
  173.         ["Purple Clouds"] = {151165191,151165214,151165197,151165224,151165206,151165227},
  174.         ["Purple Nebula"] = {159454286,159454299,159454296,159454293,159454300,159454288},
  175.         ["Twighlight"] = {264909758,264908339,264907909,264909420,264908886,264907379},
  176.         ["Vivid Skies"] = {271042310,271042516,271077243,271042556,271042467,271077958},
  177.         ["Purple and Blue"] = {149397684,149397692,149397686,149397697,149397688,149397702},
  178.     },
  179.  ["LightingBackUp"] = {
  180.   ["Ambient"] = Lighting.Ambient,
  181.   ["OutdoorAmbient"] = Lighting.OutdoorAmbient,
  182.   ["ColorShift_Top"] = Lighting.ColorShift_Top,
  183.   ["FogColor"] = Lighting.FogColor,
  184.   ["FogEnd"] = Lighting.FogEnd,
  185.   ["FogStart"] = Lighting.FogStart,
  186.   ["ClockTime"] = Lighting.ClockTime,
  187.   ["Brightness"] = Lighting.Brightness
  188.  },
  189.  ["Angle"] = 0,
  190.  --[[["Maps"] = {
  191.   ["MM2 MAP"] = {game:GetObjects("rbxassetid://6961429165")[1], NewCFrame(-2279.90967, 5337.09326, -5520.67969, -4.37113883e-08, 0, -1, -1, -4.37113883e-08, 4.37113883e-08, -4.37113883e-08, 1, 1.91068547e-15), NewVector3(-8000,5000,-5504)},
  192.   ["Parkour"] = {game:GetObjects("rbxassetid://5172031164")[1], NewCFrame(-12906.4688, 13095.1973, -11499.5381, 0.318712622, 1.4782394e-08, 0.947851419, -4.15312478e-08, 1, -1.63091063e-09, -0.947851419, -3.88456591e-08, 0.318712622), NewVector3(-12922,13090,-11418)},
  193.   ["Office"] = {game:GetObjects("rbxassetid://6882056127")[1], NewCFrame(-10773.5635, 6006.16406, -14860.6035, 1, 8.80185169e-08, -1.60622491e-07, -8.80185098e-08, 1, 6.82912145e-08, 1.60622491e-07, -6.82912003e-08, 1), NewVector3(-17608,5510,-10917)},
  194.   ["Anarchy"] = {game:GetObjects("rbxassetid://2782284003")[1], NewCFrame(-5820.18994, 5510.59863, -8075.72021, -0.286452234, -7.80991627e-08, 0.958094537, 5.32952846e-08, 1, 9.74493801e-08, -0.958094537, 7.89765124e-08, -0.286452234), NewVector3(-8190,5431,-9629)},
  195.  },]]
  196.  ["Characters"] = {
  197.   AmongUs = {Vector3.new(0.15,0.15,0.15), "6686375937", "6686375902"},
  198.   SpongeBob = {Vector3.new(5,5,5), "5408463358", "5408463211"},
  199.   Patrick = {Vector3.new(0.4,0.4,0.4), "5730253510", "5730253467"},
  200.   Maxell = {Vector3.new(0.2,0.2,0.2), "12303996609", "12303996327"},
  201.   Brian = {Vector3.new(1.7,1.7,1.7), "512454212", "512454192"},
  202.   CapyBara = {Vector3.new(2,2,2), "11255227067", "11255226712"},
  203.   Chicken = {Vector3.new(3, 3, 3), "2114220248", "2114220154"},
  204.   Sonic = {Vector3.new(0.15,0.15,0.15), "6901422268", "6901422170"},
  205.  }
  206. }
  207. --
  208. local Stomps = {}
  209. do
  210.  function Stomps:Explode(VictimChar)
  211.         spawn(function()
  212.             local Explosion = game:GetObjects("rbxassetid://12843483581")[1]
  213.             Explosion.Position = VictimChar.UpperTorso.Position
  214.             for i,v in pairs(Explosion:GetChildren()) do
  215.                 if v:IsA('Part') then
  216.                     local RandomOffsets = {
  217.                         [3] = {
  218.                             [1] = CFrame.new(0, 0, 0, 0.291951358, -0.454637647, 0.841468394, 0.837198734, -0.303921342, -0.454675913, 0.462452948, 0.837219477, 0.291891754),
  219.                             [2] = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  220.                             [3] = CFrame.new(0, 0, 0, 0.980090559, 0.139680177, 0.141109571, -0.159390777, 0.977284014, 0.139680177, -0.118393585, -0.159390777, 0.980090559),
  221.                             [4] = CFrame.new(0, 0, 0, 0.173127294, 0.378437281, 0.909292102, -0.722461104, -0.578677535, 0.378394246, 0.669385433, -0.722438574, 0.17322135),
  222.                             [5] = CFrame.new(0, 0, 0, 0.427273333, 0.494663626, 0.756799459, -0.869062901, -0.00613296032, 0.494663626, 0.249333531, -0.869062901, 0.427273333)
  223.                         },
  224.                         [4] = {
  225.                             [1] = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  226.                             [2] = CFrame.new(0, 0, 0, 0.291951358, 0.454619884, -0.841477931, -0.0720763057, 0.887764454, 0.454619884, 0.953713477, -0.0720763057, 0.291951358),
  227.                             [3] = CFrame.new(0, 0, 0, 0.17322135, -0.378349423, -0.909310758, 0.0343255848, 0.925026178, -0.378349423, 0.98428458, 0.0343255848, 0.17322135),
  228.                             [4] = CFrame.new(0, 0, 0, 0.980090559, -0.13969931, -0.141090572, 0.11998871, 0.982897162, -0.13969931, 0.158193409, 0.11998871, 0.980090559),
  229.                             [5] = CFrame.new(0, 0, 0, 0.427273333, -0.494724542, -0.756759584, 0.120325297, 0.860679626, -0.494724542, 0.896079957, 0.120325297, 0.427273333)
  230.                         },
  231.                         [5] = {
  232.                             [1] = CFrame.new(0, 0, 0, 0.291951358, 0.454619884, -0.841477931, -0.0720763057, 0.887764454, 0.454619884, 0.953713477, -0.0720763057, 0.291951358),
  233.                             [2] = CFrame.new(0, 0, 0, 0.17322135, -0.378349423, -0.909310758, 0.0343255848, 0.925026178, -0.378349423, 0.98428458, 0.0343255848, 0.17322135),
  234.                             [3] = CFrame.new(0, 0, 0, 0.980090559, -0.13969931, -0.141090572, 0.11998871, 0.982897162, -0.13969931, 0.158193409, 0.11998871, 0.980090559),
  235.                             [4] = CFrame.new(0, 0, 0, 0.427273333, 0.494663626, 0.756799459, -0.869062901, -0.00613296032, 0.494663626, 0.249333531, -0.869062901, 0.427273333)
  236.                         }
  237.                     }
  238.                     v.CFrame = Explosion.CFrame * RandomOffsets[i][math.random(1, #RandomOffsets[i])]
  239.                 end
  240.             end
  241.             Explosion.Parent = workspace.Ignored
  242.             Explosion.Explosion:Play()
  243.             spawn(function()
  244.                 local Tween1 = TweenService:Create(Explosion.Mesh, TweenInfo.new(5, Enum.EasingStyle.Circular), {Scale = Vector3.new(27.5, 27.5, 27.5)})
  245.                 Tween1:Play()
  246.                 for i,v in pairs(Explosion:GetChildren()) do
  247.                     if v:FindFirstChild('Mesh') then
  248.                         spawn(function()
  249.                             local Tween1 = TweenService:Create(v.Mesh, TweenInfo.new(0.1125, Enum.EasingStyle.Circular), {Scale = Vector3.new(12.5, 12.5, 12.5)})
  250.                             local Tween2 = TweenService:Create(v.Mesh, TweenInfo.new(1.5875, Enum.EasingStyle.Circular), {Scale = Vector3.new(13.75, 13.75, 13.75)})
  251.                             local Tween3 = TweenService:Create(v, TweenInfo.new(0.165), {Transparency = 0.35})
  252.                             local Tween4 = TweenService:Create(v, TweenInfo.new(0.9), {Transparency = 1})
  253.                             Tween1:Play()
  254.                             Tween3:Play()
  255.                             Tween1.Completed:Connect(function()
  256.                                 Tween2:Play()
  257.                             end)
  258.                             delay(1.425, function()
  259.                                 Tween4:Play()
  260.                             end)
  261.                         end)
  262.                     end
  263.                 end
  264.                 local Tween2 = TweenService:Create(Explosion, TweenInfo.new(0.3, Enum.EasingStyle.Sine), {Transparency = 1})
  265.                 wait(0.8)
  266.                 Tween2:Play()
  267.             end)
  268.             game:GetService('Debris'):AddItem(Explosion, 5)
  269.         end)
  270.     end
  271.  
  272.     function Stomps:AirStrike(VictimChar)
  273.         spawn(function()
  274.             local Radio = Instance.new("Sound", VictimChar.UpperTorso)
  275.             Radio.SoundId = "http://www.roblox.com/asset/?id=88858815"
  276.             Radio.PlaybackSpeed = 1.5
  277.             Radio.Volume = 1
  278.             Radio:Play()
  279.             local Jet = game:GetObjects("rbxassetid://12868291219")[1]
  280.             Jet.Parent = workspace.Ignored
  281.             Jet.Position = VictimChar.UpperTorso.CFrame.Position + Vector3.new(0, 200, -2000)
  282.             Jet.Sound:Play()
  283.             local function AddExplosion()
  284.                 local ExplosionSound = Instance.new("Sound", VictimChar.UpperTorso)
  285.                 ExplosionSound.SoundId = "rbxassetid://3802269741"
  286.                 local Explosion = Instance.new("Explosion", Jet)
  287.                 Explosion.DestroyJointRadiusPercent = 0
  288.                 Explosion.BlastPressure = 10000
  289.                 Explosion.Position = VictimChar.UpperTorso.Position + Vector3.new(math.random(0,50) * 0.1, 0, math.random(0,50) * 0.1)
  290.                 ExplosionSound:Play()
  291.             end
  292.             task.spawn(function()
  293.                 task.wait(2.78333333333)
  294.                 for i = 1,4 do
  295.                     AddExplosion()
  296.                     wait(math.random(0, 100) * 0.001)
  297.                 end
  298.             end)
  299.             local Tween = TweenService:Create(Jet, TweenInfo.new(5.566666666666666, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
  300.                 Position = Jet.go.WorldPosition
  301.             })
  302.             Tween:Play()
  303.             Tween.Completed:Wait()
  304.             Jet:Destroy()
  305.         end)
  306.     end
  307.  
  308.     function Stomps:Heart(VictimChar)
  309.         spawn(function()
  310.             local Table = {}
  311.             local Heart = game:GetObjects("rbxassetid://12868779018")[1]
  312.             Heart.Parent = workspace.Ignored
  313.             Heart.PartOne.Position = VictimChar.UpperTorso.Position + Vector3.new(0,7,0)
  314.             Heart.PartOne.Anchored = true
  315.             Heart.Part.Position = VictimChar.UpperTorso.Position
  316.             Heart.Part.Anchored = true
  317.             for i,v in pairs(Heart.PartOne:GetDescendants()) do
  318.                 if v:IsA("ParticleEmitter") then
  319.                     table.insert(Table, v)
  320.                 end
  321.             end
  322.             for i, v in pairs(Heart.Part:GetDescendants()) do
  323.                 if v:IsA("ParticleEmitter") then
  324.                     table.insert(Table, v);
  325.                 end;
  326.             end;
  327.             for i, v in pairs(Table) do
  328.                 if v:GetAttribute("EmitDelay") then
  329.                     task.delay(v:GetAttribute("EmitDelay"), function()
  330.                         v:Emit(v:GetAttribute("EmitCount"));
  331.                     end);
  332.                 else
  333.                     v:Emit(v:GetAttribute("EmitCount"));
  334.                 end;
  335.             end;
  336.             local Sound = Instance.new("Sound", Heart.PartOne)
  337.             Sound.Volume = 1
  338.             Sound.SoundId = "rbxassetid://1840977366"
  339.             Sound.PlayOnRemove = true
  340.             Sound:Destroy()
  341.             task.wait(0.35)
  342.             for i,v in pairs(VictimChar:GetDescendants()) do
  343.                 if v:IsA("BasePart") then
  344.                     TweenService:Create(v, TweenInfo.new(0.5, Enum.EasingStyle.Quad), {
  345.                         Transparency = 1
  346.                     }):Play()
  347.                 end
  348.             end
  349.             game.Debris:AddItem(Heart, 10)
  350.         end)
  351.     end
  352.  
  353.     function Stomps:UFO(VictimChar)
  354.         spawn(function()
  355.             local UFO = game:GetObjects("rbxassetid://12876678129")[1]
  356.             UFO.Parent = workspace.Ignored
  357.  
  358.             local Sound = Instance.new("Sound", VictimChar.UpperTorso)
  359.             Sound.SoundId = "rbxassetid://138207483"
  360.             Sound:Play()
  361.             game.Debris:AddItem(Sound, 5)
  362.             local Effect = UFO.Effect
  363.             Effect.CFrame = CFrame.new(VictimChar.UpperTorso.Position.X, VictimChar.UpperTorso.Position.Y + 35, VictimChar.UpperTorso.Position.Z)
  364.             TweenService:Create(Effect, TweenInfo.new(0.5), {
  365.                 Transparency = 0
  366.             }):Play()
  367.             game.Debris:AddItem(Effect, 5)
  368.             task.wait(0.5)
  369.             local Main = UFO.Main
  370.             Main.CFrame = CFrame.new(VictimChar.UpperTorso.Position.X, VictimChar.UpperTorso.Position.Y - 1, VictimChar.UpperTorso.Position.Z)
  371.             game.Debris:AddItem(Main, 4)
  372.             TweenService:Create(Main, TweenInfo.new(4), {
  373.                 CFrame = CFrame.new(Main.Position.X, Main.Position.Y + 20, Main.Position.Z)
  374.             }):Play()
  375.             TweenService:Create(Effect, TweenInfo.new(4), {
  376.                 CFrame = CFrame.new(Effect.Position.X, Effect.Position.Y + 20, Effect.Position.Z)
  377.             }):Play()
  378.             for i,v in pairs(VictimChar:GetDescendants()) do
  379.                 if not (not v:IsA("BasePart")) or not (not v:IsA("MEshPart")) or v:IsA("Decal") then
  380.                     TweenService:Create(v, TweenInfo.new(4), {
  381.                         Transparency = 1
  382.                     }):Play()
  383.                 end
  384.             end
  385.             task.delay(4, function()
  386.                 TweenService:Create(Effect, TweenInfo.new(4), {
  387.                     Transparency = 1
  388.                 }):Play()
  389.             end)
  390.         end)
  391.     end
  392.  
  393.     function Stomps:Glitch(VictimChar)
  394.         spawn(function()
  395.             local Glitch = game:GetObjects("rbxassetid://12886574483")[1]
  396.             Glitch.Parent = workspace.Ignored
  397.             Glitch.CFrame = VictimChar.UpperTorso.CFrame + Vector3.new(0, -0.5, 0)
  398.             Glitch.Orientation = VictimChar.UpperTorso.Orientation
  399.             for i,v in pairs(VictimChar:GetDescendants()) do
  400.                 if not (not v:IsA("BasePart")) or not (not v:IsA("MEshPart")) or v:IsA("Decal") then
  401.                     TweenService:Create(v, TweenInfo.new(4), {
  402.                         Transparency = 1
  403.                     }):Play()
  404.                 end
  405.             end
  406.             game.Debris:AddItem(Glitch, 4.5)
  407.             for i,v in pairs(Glitch:GetChildren()) do
  408.                 if v:IsA("ParticleEmitter") then
  409.                     TweenService:Create(v, TweenInfo.new(4), {
  410.                         Rate = 0
  411.                     }):Play()
  412.                 end
  413.             end
  414.             local Sound = Instance.new("Sound", VictimChar.UpperTorso)
  415.             Sound.SoundId = "rbxassetid://8880764455"
  416.             Sound:Play()
  417.         end)
  418.     end
  419.  
  420.     function Stomps:CosmicSlash(VictimChar)
  421.         spawn(function()
  422.             local Tween = game:GetObjects("rbxassetid://12888729215")[1]
  423.             local XSlash = game:GetObjects("rbxassetid://12888745636")[1]
  424.             local Folder = Instance.new("Folder", workspace.Ignored)
  425.             local sucess, err = pcall(function()
  426.                 for i,v in pairs(VictimChar:GetDescendants()) do
  427.                     if not (not v:IsA("BasePart")) or not (not v:IsA("MeshPart")) or v:IsA("Decal") then
  428.                         TweenService:Create(v, TweenInfo.new(4), {
  429.                             Transparency = 1
  430.                         }):Play()
  431.                     end
  432.                 end
  433.                 local Part = Instance.new("Part")
  434.                 local HRP = VictimChar:FindFirstChild("HumanoidRootPart")
  435.                 Part.CFrame = CFrame.new(VictimChar.UpperTorso.CFrame.p) * CFrame.new(0,2.2,0)
  436.                 local Particles = XSlash.particles
  437.                 local Particles2 = XSlash.particles2
  438.                 local Beams = XSlash.Beams
  439.                 local Main = XSlash.Main
  440.                 Main.CFrame = Part.CFrame * CFrame.new(0, -2.7, 0)
  441.                 Main.Parent = Folder
  442.                 game.Debris:AddItem(Main, 3)
  443.                 Sound:Play()
  444.                 game.Debris:AddItem(Sound, 3)
  445.                 Particles2.CFrame = Part.CFrame * CFrame.Angles(0, -2.3935096295999836, 0)
  446.                 Particles2.Parent = Folder
  447.                 game.Debris:AddItem(Particles2, 3)
  448.                 Particles.CFrame = Part.CFrame * CFrame.Angles(0, -0.8226958495125671, 0)
  449.                 Particles.Parent = Folder
  450.                 game.Debris:AddItem(Particles, 3)
  451.                 Main.Attachment.OUT3:Emit(6)
  452.                 Main.Attachment.OUT2:Emit(6)
  453.                 Main.Attachment.OUT:Emit(4)
  454.                 Main.Attachment.ParticleEmitter:Emit(2)
  455.                 TweenService:Create(Main.PointLight, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {
  456.                     Brightness = 5
  457.                 }):Play()
  458.                 wait(0.06)
  459.                 Main.Attachment.IN:Emit(4)
  460.                 wait(0.1)
  461.                 Main.Attachment2.ParticleEmitter:Emit(39)
  462.                 wait(0.28)
  463.                 Main.Attachment.OUTFX:Emit(4)
  464.                 Main.Attachment.OUTFX2:Emit(4)
  465.                 Main.Attachment2.ParticleEmitterOUT:Emit(39)
  466.                 for i,v in pairs(Particles:GetChildren()) do
  467.                     v:Emit(v:GetAttribute("EmitCount"))
  468.                 end
  469.                 for i,v in pairs(Particles2:GetChildren()) do
  470.                     v:Emit(v:GetAttribute("EmitCount"))
  471.                 end
  472.                 spawn(function()
  473.                     Tween.Parent = game.Lighting
  474.                     game.TweenService:Create(Tween, TweenInfo.new(0.2), {
  475.                         TintColor = Color3.fromRGB(172, 78, 255),
  476.                         Brightness = 0.5,
  477.                         Contrast = 1,
  478.                         Saturation = -1
  479.                     }):Play();
  480.                     wait(0.2);
  481.                     game.TweenService:Create(Tween, TweenInfo.new(0.3), {
  482.                         TintColor = Color3.fromRGB(255, 255, 255),
  483.                         Brightness = 0,
  484.                         Contrast = 0,
  485.                         Saturation = 0
  486.                     }):Play();
  487.                     game.Debris:AddItem(Tween, 0.3);
  488.                 end)
  489.                 local PrimartyPart = Beams.PrimaryPart
  490.                 spawn(function()
  491.                     PrimartyPart.CFrame = Part.CFrame * CFrame.new(0, -2.7, 0)
  492.                     Beams.Parent = Folder
  493.                     for i = 0, 1, 0.1 do
  494.                         Beams:FindFirstChild("Part1").BEAM.Transparency = NumberSequence.new(i);
  495.                         Beams:FindFirstChild("Part1").BEAM1.Transparency = NumberSequence.new(i);
  496.                         Beams:FindFirstChild("Part1").BEAM2.Transparency = NumberSequence.new(i);
  497.                         Beams:FindFirstChild("Part1").BEAM3.Transparency = NumberSequence.new(i);
  498.                         Beams:FindFirstChild("Part1").BEAM4.Transparency = NumberSequence.new(i);
  499.                         Beams:FindFirstChild("Part1").BEAM5.Transparency = NumberSequence.new(i);
  500.                         Beams:FindFirstChild("Part1").BEAM6.Transparency = NumberSequence.new(i);
  501.                         Beams:FindFirstChild("Part1").BEAM7.Transparency = NumberSequence.new(i);
  502.                         Beams:FindFirstChild("Part2").BEAM.Transparency = NumberSequence.new(i);
  503.                         Beams:FindFirstChild("Part2").BEAM1.Transparency = NumberSequence.new(i);
  504.                         Beams:FindFirstChild("Part2").BEAM2.Transparency = NumberSequence.new(i);
  505.                         Beams:FindFirstChild("Part2").BEAM3.Transparency = NumberSequence.new(i);
  506.                         Beams:FindFirstChild("Part2").BEAM4.Transparency = NumberSequence.new(i);
  507.                         Beams:FindFirstChild("Part2").BEAM5.Transparency = NumberSequence.new(i);
  508.                         Beams:FindFirstChild("Part2").BEAM6.Transparency = NumberSequence.new(i);
  509.                         Beams:FindFirstChild("Part2").BEAM7.Transparency = NumberSequence.new(i);
  510.                         Beams:FindFirstChild("Part3").BEAM.Transparency = NumberSequence.new(i);
  511.                         Beams:FindFirstChild("Part3").BEAM1.Transparency = NumberSequence.new(i);
  512.                         Beams:FindFirstChild("Part3").BEAM2.Transparency = NumberSequence.new(i);
  513.                         Beams:FindFirstChild("Part3").BEAM3.Transparency = NumberSequence.new(i);
  514.                         Beams:FindFirstChild("Part3").BEAM4.Transparency = NumberSequence.new(i);
  515.                         Beams:FindFirstChild("Part3").BEAM5.Transparency = NumberSequence.new(i);
  516.                         Beams:FindFirstChild("Part3").BEAM6.Transparency = NumberSequence.new(i);
  517.                         Beams:FindFirstChild("Part3").BEAM7.Transparency = NumberSequence.new(i);
  518.                         Beams:FindFirstChild("Part4").BEAM.Transparency = NumberSequence.new(i);
  519.                         Beams:FindFirstChild("Part4").BEAM1.Transparency = NumberSequence.new(i);
  520.                         Beams:FindFirstChild("Part4").BEAM2.Transparency = NumberSequence.new(i);
  521.                         Beams:FindFirstChild("Part4").BEAM3.Transparency = NumberSequence.new(i);
  522.                         Beams:FindFirstChild("Part4").BEAM4.Transparency = NumberSequence.new(i);
  523.                         Beams:FindFirstChild("Part4").BEAM5.Transparency = NumberSequence.new(i);
  524.                         Beams:FindFirstChild("Part4").BEAM6.Transparency = NumberSequence.new(i);
  525.                         Beams:FindFirstChild("Part4").BEAM7.Transparency = NumberSequence.new(i);
  526.                         wait(0.001);
  527.                     end
  528.                 end)
  529.                 wait(0.4)
  530.                 TweenService:Create(Main.PointLight, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {
  531.                     Brightness = 0
  532.                 }):Play();
  533.         end)
  534.             if sucess then
  535.                 task.delay(25, function()
  536.                     Folder:Destroy()
  537.                 end)
  538.                 return
  539.             end
  540.             Folder:Destroy()
  541.             Tween:Destroy()
  542.         end)
  543.     end
  544. end  
  545. --
  546. local Highlights = Instance.new("Folder")
  547. Highlights.Parent = game.CoreGui
  548. --
  549. if not LPH_OBFUSCATED then
  550.     LPH_JIT_MAX = function(...) return (...) end;
  551.     LPH_NO_VIRTUALIZE = function(...) return (...) end;
  552.  LPH_JIT = function(...) return (...) end;
  553. end
  554. --
  555. for i,v in pairs(Lynx.Files.Folders) do
  556.  makefolder(v)
  557. end
  558. --
  559. for LuaName, Contents in pairs(Lynx.Files.Luas) do
  560.  writefile("Lynx/Luas/" .. LuaName .. ".lua", Contents)
  561. end
  562. --
  563. if not isfile("Lynx/Assets/Auto Prediction.txt") then
  564.  writefile("Lynx/Assets/Auto Prediction.txt", "10 ping value\n20 ping value\n30 ping value\n40 ping value\n50 ping value\n60 ping value\n70 ping value\n80 ping value\n90 ping value\n100 ping value")
  565. end
  566. --
  567. --
  568. if not isfile("Lynx/Assets/Shit Talk.txt") then
  569.  writefile("Lynx/Assets/Shit Talk.txt", "You're a dog nn\nGet Good Get Lynx\nLOL")
  570. end
  571. --
  572. utility.ShitTalk.Custom = readfile("Lynx/Assets/Shit Talk.txt"):split("\n")
  573. --
  574. local ui = {}
  575. --
  576. local uis = game:GetService('UserInputService')
  577. local txtservice = game:GetService('TextService')
  578. local ts = game:GetService('TweenService')
  579. local rs = game:GetService('RunService')
  580. local hs = game:GetService('HttpService')
  581.  
  582. local HttpService = game:GetService("HttpService")
  583. local ENABLE_TRACEBACK = false
  584. local Signal = {}
  585. do
  586.  Signal.__index = Signal
  587.  Signal.ClassName = "Signal"
  588.     --[=[
  589.         Returns whether a class is a signal
  590.         @param value any
  591.         @return boolean
  592.     ]=]
  593.  function Signal.isSignal(value)
  594.   return type(value) == "table" and getmetatable(value) == Signal
  595.  end
  596.     --[=[
  597.         Constructs a new signal.
  598.         @return Signal<T>
  599.     ]=]
  600.  function Signal.new()
  601.   local self = setmetatable({}, Signal)
  602.   self._bindableEvent = Instance.new("BindableEvent")
  603.   self._argMap = {}
  604.   self._source = ENABLE_TRACEBACK and debug.traceback() or ""
  605.  
  606.   self._bindableEvent.Event:Connect(function(key)
  607.    self._argMap[key] = nil
  608.    if (not self._bindableEvent) and (not next(self._argMap)) then
  609.     self._argMap = nil
  610.    end
  611.   end)
  612.   return self
  613.  end
  614.     --[=[
  615.         Fire the event with the given arguments. All handlers will be invoked. Handlers follow
  616.         @param ... T -- Variable arguments to pass to handler
  617.     ]=]
  618.  function Signal:Fire(...)
  619.   if not self._bindableEvent then
  620.    warn(("Signal is already destroyed. %s"):format(self._source))
  621.    return
  622.   end
  623.   local args = table.pack(...)
  624.   local key = HttpService:GenerateGUID(false)
  625.   self._argMap[key] = args
  626.   self._bindableEvent:Fire(key)
  627.  end
  628.     --[=[
  629.         Connect a new handler to the event. Returns a connection object that can be disconnected.
  630.         @param handler (... T) -> () -- Function handler called when `:Fire(...)` is called
  631.         @return RBXScriptConnection
  632.     ]=]
  633.  function Signal:Connect(handler)
  634.   if not (type(handler) == "function") then
  635.    error(("connect(%s)"):format(typeof(handler)), 2)
  636.   end
  637.   return self._bindableEvent.Event:Connect(function(key)
  638.    local args = self._argMap[key]
  639.    if args then
  640.     handler(table.unpack(args, 1, args.n))
  641.    else
  642.     error("Missing arg data, probably due to reentrance.")
  643.    end
  644.   end)
  645.  end
  646.     --[=[
  647.         Wait for fire to be called, and return the arguments it was given.
  648.         @yields
  649.         @return T
  650.     ]=]
  651.  function Signal:Wait()
  652.   local key = self._bindableEvent.Event:Wait()
  653.   local args = self._argMap[key]
  654.   if args then
  655.    return table.unpack(args, 1, args.n)
  656.   else
  657.    error("Missing arg data, probably due to reentrance.")
  658.    return nil
  659.   end
  660.  end
  661.     --[=[
  662.         Disconnects all connected events to the signal. Voids the signal as unusable.
  663.         Sets the metatable to nil.
  664.     ]=]
  665.  function Signal:Destroy()
  666.   if self._bindableEvent then
  667.    self._bindableEvent:Destroy()
  668.    self._bindableEvent = nil
  669.   end
  670.   setmetatable(self, nil)
  671.  end
  672. end
  673.  
  674. local Connections = {}
  675.  
  676. local function Tween(frame,time,style,direction,props)
  677.  local a = ts:Create(frame,TweenInfo.new(time,Enum.EasingStyle[style],Enum.EasingDirection[direction]),props)
  678.  a:Play()
  679.  return a
  680. end
  681. local function formatTable(t)
  682.  local t = t or {}
  683.  local new = {}
  684.  for i,v in pairs(t) do
  685.   new[tostring(i):lower()] = v
  686.  end
  687.  return new
  688. end
  689. local function create(className,options)
  690.  local options = options or {}
  691.  local inst = Instance.new(className)
  692.  for i,v in pairs(options) do
  693.   inst[i] = v
  694.  end
  695.  return inst
  696. end
  697. local function TabInsert(t,v)
  698.  if not table.find(t,v) then
  699.   table.insert(t,v)
  700.  end
  701. end
  702. local function TabRemove(t,v)
  703.  local a = table.find(t,v)
  704.  if a then
  705.   table.remove(t,a)
  706.  end
  707. end
  708. local function Dragify(frame,frame2)
  709.  local frame2 = frame2 or frame
  710.  local dragging = false
  711.  local dragInput
  712.  local dragStart
  713.  local startPos
  714.  local function update(input)
  715.   local delta = input.Position - dragStart
  716.   frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  717.  end
  718.  frame2.InputBegan:Connect(function(input)
  719.   if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  720.    dragging = true
  721.    dragStart = input.Position
  722.    startPos = frame.Position
  723.    input.Changed:Connect(function()
  724.     if input.UserInputState == Enum.UserInputState.End then
  725.      dragging = false
  726.     end
  727.    end)
  728.   end
  729.  end)
  730.  frame2.InputChanged:Connect(function(input)
  731.   if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  732.    dragInput = input
  733.   end
  734.  end)
  735.  uis.InputChanged:Connect(function(input)
  736.   if input == dragInput and dragging then
  737.    update(input)
  738.   end
  739.  end)
  740. end
  741. local function SetupFrame(frame,options)
  742.  local options = formatTable(options)
  743.  local uiCorner,stroke,list,pad
  744.  if options.corner then
  745.   local cornerOptions = formatTable(options.corner)
  746.   uiCorner = create('UICorner',{
  747.    Parent = frame,
  748.    CornerRadius = cornerOptions.radius or UDim.new(),
  749.   })
  750.  end
  751.  if options.stroke then
  752.   local strokeOptions = formatTable(options.stroke)
  753.   stroke = create('UIStroke',{
  754.    Name = 'Stroke',
  755.    Parent = frame,
  756.    Thickness = 1,
  757.    Transparency = 0,
  758.    Color = strokeOptions.Color or Color3.fromRGB(40,40,40), -- ps it doesnt even change
  759.    LineJoinMode = 'Round',
  760.    ApplyStrokeMode = 'Contextual'
  761.   })
  762.  end
  763.  if options.list then
  764.   local listOptions = formatTable(options.list)
  765.   list = create('UIListLayout',{
  766.    Parent = frame,
  767.    Padding = listOptions.pad or UDim.new(),
  768.    FillDirection = listOptions.direction or 'Vertical',
  769.    HorizontalAlignment = listOptions.horizontalalignment or 'Left',
  770.    SortOrder = listOptions.order or 'LayoutOrder',
  771.    VerticalAlignment = listOptions.verticalalignment or 'Top',
  772.   })
  773.  end
  774.  if options.pad then
  775.   local padOptions = formatTable(options.pad)
  776.   pad = create('UIPadding',{
  777.    Parent = frame,
  778.    PaddingBottom = padOptions.bottom or UDim.new(),
  779.    PaddingTop = padOptions.top or UDim.new(),
  780.    PaddingRight = padOptions.right or UDim.new(),
  781.    PaddingLeft = padOptions.left or UDim.new(),
  782.   })
  783.  end
  784.  return uiCorner,stroke,list,pad
  785. end
  786. local function CreateElement(element) -- aka create holder
  787.  local holder = element._holder
  788.  local elementHolder = create('Frame',{
  789.   Name = #holder:GetChildren()-(element._settingMenu and 0 or 3),
  790.   Parent = holder,
  791.   Size = UDim2.new(1,0,0,15),
  792.   BackgroundTransparency = 1,
  793.   BorderSizePixel = 0,
  794.   ZIndex = holder.ZIndex+1,
  795.  })
  796.  local holder = create('Frame',{
  797.   Name = 'Holder',
  798.   Parent = elementHolder,
  799.   BackgroundTransparency = 1,
  800.   BorderSizePixel = 0,
  801.   Position = element._holderPosition or UDim2.new(0,80,0,0),
  802.   Size = element._holderSize or UDim2.new(0,100,1,0),
  803.   ZIndex = elementHolder.ZIndex+1,
  804.  })
  805.  SetupFrame(holder,{
  806.   List = {Pad = UDim.new(0,5),Direction = 'Horizontal',horizontalalignment = 'Right',verticalalignment = 'Top'},
  807.  })
  808.  return holder
  809. end
  810. local function CreateSlider(frame,options)
  811.  local options = formatTable(options)
  812.  local side = options.side or 'X'
  813.  local offset = side == 'Y' and 36 or 0
  814.  
  815.  local min = options.min or 0
  816.  local max = options.max or 100
  817.  local default = options.default or 0
  818.  local float = options.float or 1
  819.  
  820.  local set = options.set or function() end
  821.  
  822.  
  823.  local button = create('Frame',{
  824.   Parent = frame,
  825.   Name = 'Button',
  826.   BackgroundTransparency = 1,
  827.   Position = UDim2.new(),
  828.   Size = UDim2.new(1,0,1,0),
  829.   ZIndex = frame.ZIndex+1,
  830.  })
  831.  
  832.  local function slide(input)
  833.   local x = (input.Position[side]-frame.AbsolutePosition[side])/frame.AbsoluteSize[side]
  834.  
  835.   local value = ((max-min)*x)+min
  836.   value = math.floor(value*(1/float))/(1/float)
  837.   value = math.clamp(value,min,max)
  838.   set(value)
  839.  end
  840.  set(default)
  841.  local sliding = false
  842.  button.InputBegan:Connect(function(input)
  843.   if input.UserInputType == Enum.UserInputType.MouseButton1 then
  844.    sliding = true
  845.    slide(input)
  846.   end
  847.  end)
  848.  button.InputEnded:Connect(function(input)
  849.   if input.UserInputType == Enum.UserInputType.MouseButton1 then
  850.    sliding = false
  851.    slide(input)
  852.   end
  853.  end)
  854.  uis.InputChanged:Connect(function(input)
  855.   if input.UserInputType == Enum.UserInputType.MouseMovement and sliding then
  856.    slide(input)
  857.   end
  858.  end)
  859.  return button
  860. end
  861. local function CreateInput(textlabel,options)
  862.  local textbox = create('TextBox',{
  863.   Parent = textlabel.Parent,
  864.   ClearTextOnFocus = false,
  865.   Font = textlabel.Font,
  866.   FontFace = textlabel.FontFace,
  867.   LineHeight = textlabel.LineHeight,
  868.   Position = textlabel.Position,
  869.   Size = textlabel.Size,
  870.   Text = textlabel.Text,
  871.   TextColor3 = textlabel.TextColor3,
  872.   TextScaled = textlabel.TextScaled,
  873.   TextSize = textlabel.TextSize,
  874.   Name = textlabel.Name,
  875.   ZIndex = textlabel.ZIndex,
  876.   BackgroundTransparency = textlabel.BackgroundTransparency,
  877.   TextTransparency = textlabel.TextTransparency,
  878.   TextXAlignment = textlabel.TextXAlignment,
  879.   BorderSizePixel = textlabel.BorderSizePixel,
  880.  })
  881.  textlabel:Destroy()
  882.  local options = formatTable(options)
  883.  local callback = options.callback or function() end
  884.  if options.focuses then
  885.   textbox.Focused:Connect(function()
  886.    callback(false,textbox.Text)
  887.   end)
  888.   textbox.FocusLost:Connect(function(a,b)
  889.    callback(true,textbox.Text,a,b)
  890.   end)
  891.  else
  892.   textbox:GetPropertyChangedSignal('Text'):Connect(function()
  893.    callback(textbox.Text)
  894.   end)
  895.  end
  896.  return textbox
  897. end
  898. -- im master of sphagetti code when it comes to uis LOL
  899.  
  900. local Elements = {}
  901. Elements.__index = Elements
  902.  
  903. local function CombineTables(t,t2)
  904.  local t3 = {}
  905.  for i,v in pairs(t) do
  906.   t3[i] = v
  907.  end
  908.  for i,v in pairs(t2) do
  909.   t3[i] = v
  910.  end
  911.  
  912.  return setmetatable(t3,Elements)
  913. end
  914. local Segment = {} -- i have no clue how to call it srry
  915. Segment.__index = Segment
  916. function Segment:CreateSegment(options)
  917.  local options = formatTable(options)
  918.  local holder = CreateElement(self)
  919.  
  920.  local elementsClass = {_holder = holder,_window = self._window,_sector = self._sector,_tabSector = self._tabSector,_segment = true}
  921.  if options.name then
  922.   elementsClass._title = true
  923.   create('TextLabel',{
  924.    Name = 'Title',
  925.    Parent = holder.Parent,
  926.    BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  927.    BackgroundTransparency = 1.000,
  928.    BorderColor3 = Color3.fromRGB(0, 0, 0),
  929.    BorderSizePixel = 0,
  930.    Size = UDim2.new(1, 0, 0, 12),
  931.    ZIndex = holder.ZIndex+1,
  932.    Font = Enum.Font.GothamMedium,
  933.    TextColor3 = Color3.fromRGB(200, 200, 200),
  934.    TextSize = 12.000,
  935.    TextXAlignment = Enum.TextXAlignment.Left,
  936.    Text = options.name or ''
  937.   })
  938.  end
  939.  return setmetatable(elementsClass,Elements)
  940. end
  941.  
  942. function Elements:Colorpicker(options)
  943.  local options = formatTable(options)
  944.  local mainHolder = self._holder
  945.  if not self._segment then
  946.   mainHolder = CreateElement(self)
  947.  end
  948.  if not mainHolder.Parent:FindFirstChild('Title') then
  949.   create('TextLabel',{
  950.    Name = 'Title',
  951.    Parent = mainHolder.Parent,
  952.    BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  953.    BackgroundTransparency = 1.000,
  954.    BorderColor3 = Color3.fromRGB(0, 0, 0),
  955.    BorderSizePixel = 0,
  956.    Size = UDim2.new(1, 0, 0, 12),
  957.    ZIndex = mainHolder.ZIndex+1,
  958.    Font = Enum.Font.GothamMedium,
  959.    TextColor3 = Color3.fromRGB(200, 200, 200),
  960.    TextSize = 12.000,
  961.    TextXAlignment = Enum.TextXAlignment.Left,
  962.    Text = options.name or ''
  963.   })
  964.  end
  965.  local sector = self._tabSector
  966.  local zindexadd = 300+300*#sector:GetChildren()
  967.  local colorpickerIcon = create('ImageLabel',{
  968.   Parent = mainHolder,
  969.   Name = (10-#mainHolder:GetChildren()),
  970.   BackgroundTransparency = 1.000,
  971.   BorderSizePixel = 0,
  972.   Position = UDim2.new(0, 46, 0, 0),
  973.   Size = UDim2.new(0, 15, 0, 15),
  974.   ZIndex = mainHolder.ZIndex+1,
  975.   Image = "http://www.roblox.com/asset/?id=14259665095",
  976.   ImageColor3 = Color3.fromRGB(200, 200, 200),
  977.   SliceScale = 4.000,
  978.  })
  979.  local scroll = self._tabSector
  980.  local scrollY = scroll.CanvasSize.Y.Offset
  981.  
  982.  local edgeX = scroll.AbsolutePosition.X+scroll.AbsoluteSize.X
  983.  local sizex = 125
  984.  local offset = 15
  985.  
  986.  local posX = ((colorpickerIcon.AbsolutePosition.X+offset >= edgeX or colorpickerIcon.AbsolutePosition.X+offset+sizex >= edgeX) and -(sizex+offset) or offset+(colorpickerIcon.AbsoluteSize.X/2))
  987.  local posY = math.clamp(colorpickerIcon.AbsolutePosition.Y-60,scroll.AbsolutePosition.Y,scroll.AbsolutePosition.Y+scrollY)
  988.  
  989.  local colorpickerFrame = create('Frame',{
  990.   Name = 'ColorpickerFrame',
  991.   Parent = colorpickerIcon,
  992.   BackgroundColor3 = Color3.fromRGB(30, 30, 30),
  993.   BorderColor3 = Color3.fromRGB(0, 0, 0),
  994.   BorderSizePixel = 0,
  995.   Position = UDim2.new(0, posX, 0, posY-colorpickerIcon.AbsolutePosition.Y+2),
  996.   Size = UDim2.new(0, sizex, 0, 135),
  997.   ZIndex = zindexadd+1,
  998.   Visible = false,
  999.  })
  1000.  SetupFrame(colorpickerFrame,{corner = {radius = UDim.new(0,4)},stroke = {}})
  1001.  local button = create('TextButton',{
  1002.   Parent = colorpickerIcon,
  1003.   Size = UDim2.new(1,0,1,0),
  1004.   TextTransparency = 1,
  1005.   BackgroundTransparency = 1,
  1006.   ZIndex = zindexadd+1
  1007.  })
  1008.  button.MouseButton1Down:Connect(function()
  1009.   colorpickerFrame.Visible = not colorpickerFrame.Visible
  1010.  end)
  1011.  
  1012.  scroll:GetPropertyChangedSignal('CanvasSize'):Connect(function()
  1013.   scrollY = scroll.CanvasSize.Y.Offset
  1014.   posY = math.clamp(colorpickerIcon.AbsolutePosition.Y-60,scroll.AbsolutePosition.Y,scroll.AbsolutePosition.Y+scrollY)
  1015.   colorpickerFrame.Position = UDim2.new(0, posX, 0, posY-colorpickerIcon.AbsolutePosition.Y+2)
  1016.  end)
  1017.  
  1018.  -- 5 fucking frames 3 textlables and 1 image i fucking hate colorpicker i made
  1019.  local mainColorpicker = create('Frame',{
  1020.   Name = 'Colorpicker',
  1021.   Parent = colorpickerFrame,
  1022.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1023.   BorderSizePixel = 0,
  1024.   Position = UDim2.new(0, 5, 0, 5),
  1025.   Size = UDim2.new(0, 100, 0, 90),
  1026.   ZIndex = zindexadd+2,
  1027.  })
  1028.  SetupFrame(mainColorpicker,{Corner = {radius = UDim.new(0,4)}})
  1029.  local image = create('ImageLabel',{
  1030.   ZIndex = zindexadd+3,
  1031.   Parent = mainColorpicker,
  1032.   Image = 'rbxassetid://4155801252',
  1033.   Size = UDim2.new(1,0,1,0)
  1034.  })
  1035.  
  1036.  local hue = create('Frame',{
  1037.   Name = 'Hue',
  1038.   Parent = colorpickerFrame,
  1039.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1040.   BorderColor3 = Color3.fromRGB(0, 0, 0),
  1041.   BorderSizePixel = 0,
  1042.   Position = UDim2.new(0, 5, 0, 100),
  1043.   Size = UDim2.new(0, 115, 0, 11),
  1044.   ZIndex = zindexadd+2,
  1045.  })
  1046.  SetupFrame(hue,{corner = {radius = UDim.new(0,4)}})
  1047.  create('UIGradient',{
  1048.   Parent = hue,
  1049.   Enabled = true,
  1050.   Rotation = 0,
  1051.   Color = ColorSequence.new{
  1052.    ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)),
  1053.    ColorSequenceKeypoint.new(0.17, Color3.fromRGB(255, 255, 0)),
  1054.    ColorSequenceKeypoint.new(0.33, Color3.fromRGB(0, 255, 0)),
  1055.    ColorSequenceKeypoint.new(0.50, Color3.fromRGB(0, 255, 255)),
  1056.    ColorSequenceKeypoint.new(0.66, Color3.fromRGB(0, 0, 255)),
  1057.    ColorSequenceKeypoint.new(0.82, Color3.fromRGB(255, 0, 255)),
  1058.    ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))
  1059.   }
  1060.  })
  1061.  local alpha = create('ImageLabel',{
  1062.   Name = 'Alpha',
  1063.   Parent = colorpickerFrame,
  1064.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1065.   BorderSizePixel = 0,
  1066.   Position = UDim2.new(0, 110, 0, 5),
  1067.   Size = UDim2.new(0, 10, 0, 90),
  1068.   ZIndex = zindexadd+2,
  1069.   Image = "rbxassetid://14248403322",
  1070.  })
  1071.  
  1072.  
  1073.  local alphaslideFrame = create('Frame',{
  1074.   BackgroundTransparency = 1,
  1075.   Parent = alpha,
  1076.   Size = UDim2.new(1,0,1,-2)
  1077.  })
  1078.  local alphapicker = create('Frame',{
  1079.   Parent = alphaslideFrame,
  1080.   BorderSizePixel = 1,
  1081.   Size = UDim2.new(1,-2,0,2),
  1082.   Position = UDim2.new(0,1,0,0),
  1083.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1084.   ZIndex = zindexadd+4
  1085.  })
  1086.  
  1087.  local hueslideFrame = create('Frame',{
  1088.   BackgroundTransparency = 1,
  1089.   Parent = hue,
  1090.   Size = UDim2.new(1,-2,1,0)
  1091.  })
  1092.  local huepicker = create('Frame',{
  1093.   Parent = hueslideFrame,
  1094.   BorderSizePixel = 1,
  1095.   Size = UDim2.new(0,2,1,-2),
  1096.   Position = UDim2.new(0,0,0,1),
  1097.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1098.   ZIndex = zindexadd+4
  1099.  })
  1100.  
  1101.  local colorpickerSlide = create('Frame',{
  1102.   Parent = mainColorpicker,
  1103.   Name = 'SlideFrame',
  1104.   Size = UDim2.new(1,-3,1,-3),
  1105.   Position = UDim2.new(0,1,0,1),
  1106.   BackgroundTransparency = 1,
  1107.  })
  1108.  local colorpointer = create('Frame',{
  1109.   Parent = colorpickerSlide,
  1110.   Name = 'Picker',
  1111.   Size = UDim2.new(0,6,0,6),
  1112.   Position = UDim2.new(),
  1113.   BorderSizePixel = 1,
  1114.   BackgroundColor3 = Color3.fromRGB(255, 255, 255),
  1115.   ZIndex = zindexadd+4
  1116.  })
  1117.  
  1118.  local inputs = {}
  1119.  for i=1,3 do -- i am NOT doing 3 20 lines of code
  1120.   local mainFrame = create('Frame',{
  1121.    Name = tostring(i),
  1122.    Parent = colorpickerFrame,
  1123.    BackgroundColor3 = Color3.fromRGB(30, 30, 30),
  1124.    BackgroundTransparency = 0.500,
  1125.    BorderColor3 = Color3.fromRGB(0, 0, 0),
  1126.    BorderSizePixel = 0,
  1127.    Position = UDim2.new(0, 6+(39*(i-1)), 0, 116),
  1128.    Size = UDim2.new(0, 35, 0, 14),
  1129.    ZIndex = zindexadd+2,
  1130.   })
  1131.   local a = create('TextLabel',{
  1132.    Name = tostring(i),
  1133.    Parent = mainFrame,
  1134.    BackgroundTransparency = 1,
  1135.    BorderSizePixel = 0,
  1136.    Position = UDim2.new(0, 1, 0, 0),
  1137.    Size = UDim2.new(1, 0, 1, -1),
  1138.    ZIndex = zindexadd+3,
  1139.    Font = Enum.Font.Gotham,
  1140.    Text = "255",
  1141.    TextColor3 = Color3.fromRGB(180, 180, 180),
  1142.    TextSize = 11.000,
  1143.    TextWrapped = true,
  1144.   })
  1145.   SetupFrame(mainFrame,{corner = {radius = UDim.new(0,4)},pad = {top = UDim.new(0,1),bottom = UDim.new(0,1),left = UDim.new(0,8),right = UDim.new(0,8)},stroke = {}})
  1146.   table.insert(inputs,a)
  1147.  end
  1148.  local window = self._window
  1149.  local callback = options.callback or function() end
  1150.  local flag = options.flag; if not flag then window._undefinedFlags += 1; flag = 'undefined_'..window._undefinedFlags end
  1151.  local callback = options.callback or function() end
  1152.  
  1153.  
  1154.  local default = {Color = Color3.fromRGB(255, 255, 255),Alpha = 0}
  1155.  if options.default then
  1156.   if typeof(options.default) == 'Color3' then
  1157.    default.Color = options.default
  1158.   elseif typeof(options.default) == 'table' then
  1159.    default = options.default
  1160.   end
  1161.  end
  1162.  window.flags[flag] = {Color = default.Color,Alpha = default.Alpha or 0}
  1163.  local h,s,v = default.Color:ToHSV()
  1164.  
  1165.  local a = default.Alpha or 0
  1166.  
  1167.  local function set(color,setpos)
  1168.   local newhue,newsat,newval = color:ToHSV()
  1169.  
  1170.   if setpos then
  1171.    h = newhue
  1172.    s = newsat
  1173.    v = newval
  1174.  
  1175.    alphapicker.Position = UDim2.new(0,1,a,0)
  1176.    huepicker.Position = UDim2.new(h,0,0,1)
  1177.    colorpointer.Position = UDim2.new(1-s,-3,1-v,-3)
  1178.   end
  1179.   image.ImageColor3 = Color3.fromHSV(h,1,1)
  1180.  
  1181.   alpha.BackgroundColor3 = Color3.fromHSV(h,1,1)
  1182.  
  1183.   inputs[1].Text = math.floor(color.R*255)
  1184.   inputs[2].Text = math.floor(color.G*255)
  1185.   inputs[3].Text = math.floor(color.B*255)
  1186.  
  1187.   window.flags[flag].Color = color
  1188.   window.flags[flag].Alpha = a
  1189.   callback(window.flags[flag])
  1190.  end
  1191.  local function SetA(newa)
  1192.   a = newa
  1193.   alphapicker.Position = UDim2.new(0,1,a,0)
  1194.   set(Color3.fromHSV(h,1-s,1-v))
  1195.  end
  1196.  local function SetH(value)
  1197.   h = value
  1198.   huepicker.Position = UDim2.new(h,0,0,1)
  1199.   set(Color3.fromHSV(h,1-s,1-v))
  1200.  end
  1201.  local function SetS(value)
  1202.   s = value
  1203.   colorpointer.Position = UDim2.new(s,-3,v,-3)
  1204.   set(Color3.fromHSV(h,1-s,1-v))
  1205.  end
  1206.  local function SetV(value)
  1207.   v = value
  1208.   colorpointer.Position = UDim2.new(s,-3,v,-3)
  1209.   set(Color3.fromHSV(h,1-s,1-v))
  1210.  end
  1211.  
  1212.  CreateSlider(alphaslideFrame,{side = 'Y',min=0,max=1,float=0.01,default=0,set=SetA})
  1213.  CreateSlider(hueslideFrame,{side = 'X',min=0,max=1,float=0.01,default=0,set=SetH})
  1214.  
  1215.  CreateSlider(colorpickerSlide,{side = 'X',min=0,max=1,float=0.01,default=0,set=SetS})
  1216.  CreateSlider(colorpickerSlide,{side = 'Y',min=0,max=1,float=0.01,default=0,set=SetV})
  1217.  
  1218.  set(default.Color,true)
  1219.  
  1220.  local r,g,b
  1221.  
  1222.  
  1223.  local textbox;textbox = CreateInput(inputs[1],{focuses = true,callback = function(a,text,b,c)
  1224.   if not a then
  1225.    r = text
  1226.   else
  1227.    if tonumber(text) then
  1228.     set(Color3.fromRGB(text,inputs[2].Text,inputs[3].Text),true)
  1229.    else
  1230.     textbox.Text = r
  1231.    end
  1232.   end
  1233.  end})
  1234.  inputs[1] = textbox
  1235.  local textbox;textbox = CreateInput(inputs[2],{focuses = true,callback = function(a,text,b,c)
  1236.   if not a then
  1237.    g = text
  1238.   else
  1239.    if tonumber(text) then
  1240.     set(Color3.fromRGB(inputs[1].Text,text,inputs[3].Text),true)
  1241.    else
  1242.     textbox.Text = g
  1243.    end
  1244.   end
  1245.  end})
  1246.  inputs[2] = textbox
  1247.  local textbox;textbox = CreateInput(inputs[3],{focuses = true,callback = function(a,text,b,c)
  1248.   if not a then
  1249.    b = text
  1250.   else
  1251.    if tonumber(text) then
  1252.     set(Color3.fromRGB(inputs[1].Text,inputs[2].Text,text),true)
  1253.    else
  1254.     textbox.Text = b
  1255.    end
  1256.   end
  1257.  end})
  1258. ... (211 KB left)
  1259.  
captcha