- local ui = {}
- --
- local uis = game:GetService('UserInputService')
- local txtservice = game:GetService('TextService')
- local ts = game:GetService('TweenService')
- --
- local repo = "https://raw.githubusercontent.com/f1nobe7650/Lynx/main/"
- -- Getting the functions n stuff
- local Color = loadstring(game:HttpGet(repo .."Color.lua"))();
- local Math = loadstring(game:HttpGet(repo .."Math.lua"))();
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Blissful4992/ESPs/main/3D Drawing Api.lua"))();
- local WatermarkLUA = loadstring(game:HttpGet("https://pastebin.com/raw/FhFwETdS"))();
- --
- 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")
- local Mouse, Camera, LocalPlayer = Players.LocalPlayer:GetMouse(), Workspace.Camera, Players.LocalPlayer
- 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
- local Wanted, ShopPath, bodyParts, viewportSize = LocalPlayer:WaitForChild("DataFolder").Information.Wanted, workspace.Ignored.Shop, {}, Camera.ViewportSize
- local OldWanted = Wanted.Value
- --
- for i,v in pairs(LocalPlayer.Character:GetChildren()) do
- if v:IsA("BasePart") then
- table.insert(bodyParts,v.Name)
- end
- end
- --
- 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)
- --
- setfpscap(999)
- --
- getgenv().Lynx, getgenv().Visuals, getgenv().utility =
- {
- ["Connections"] = {},
- ["Account"] = {
- Username = (lgVarsTbl and lgVarsTbl["DiscordUsername"] or "User"),
- UserID = LocalPlayer.UserId,
- Game = "Da Hood"
- },
- ["Locals"] = {
- Window = {},
- },
- ["Silent"] = {
- Target = nil,
- Check = true,
- Prediction = 0,
- Resolver = {false, nil},
- Offset = 0,
- Check = true,
- Hitpart = nil,
- Position = nil,
- },
- ["Assist"] = {
- Target = nil,
- Prediction = 0,
- Resolver = false,
- },
- ["Files"] = {
- Folders = {"Lynx", "Lynx/Configs", "Lynx/Luas", "Lynx/Assets"},
- Luas = {
- ["ChinaHat"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/ChinaHat"),
- ["Minecraft"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/Minecraft"),
- ["BetterGame"] = game:HttpGet("https://raw.githubusercontent.com/f1nobe7650/Lynx/main/LUAs/BetterGame")
- },
- }
- },
- {
- ["Drawings"] = {},
- ["Bases"] = {},
- ["Base"] = {},
- ["Settings"] = {
- ["Line"] = {
- Thickness = 1,
- Color = Color3.fromRGB(0, 255, 0)
- },
- ["Text"] = {
- Size = 13,
- Center = true,
- Outline = true,
- Font = Drawing.Fonts.Plex,
- Color = Color3.fromRGB(255, 255, 255)
- },
- ["Square"] = {
- Thickness = 1,
- Color = Color3.fromRGB(255, 255, 255),
- Filled = false,
- },
- ["Triangle"] = {
- Color = Color3.fromRGB(255, 255, 255),
- Filled = true,
- Visible = false,
- Thickness = 1,
- },
- ["Image"] = {
- Transparency = 1,
- Data = game:HttpGet("https://raw.githubusercontent.com/portallol/luna/main/Gradient.png")
- }
- },
- ["KeyBindList"] = {}
- },
- {
- ["Cursor"] = {Lines = {}, Outlines = {}, Dots = {}},
- ["Renders"] = {},
- ["Parts"] = {},
- ["Desyncs"] = {
- ["None"] = NewVector3(0, 0, 0),
- ["HvH"] = NewVector3(0, -16384, 0),
- ["AntiBot"] = NewVector3(0, 100, 0),
- ["Horizontal"] = NewVector3(-16384, 0, 0),
- ["Sky"] = NewVector3(0, 16384, 0),
- ["Ground"] = NewVector3(0, -100, 0),
- ["Desync"] = NewVector3(-16384, -16384, -16384)
- },
- ["Ignore"] = {},
- ["LastTick"] = tick(),
- ["ShitTalk"] = {
- ["Lynx"] = {
- "WHAT THE HELL IS AN AZURE ??",
- "LYNX ONTOP LYNX ONTOP LYNX ONTOP",
- "IS THAT LYNX???!! | .gg/lynx",
- "Here is a wild lynx user in its habitat | .gg/lynx",
- "LYNX >> ALL",
- "LYNX ON TOP | .gg/lynx",
- "LYNX > U",
- ".gg/lynx"
- },
- ["AntiAim"] = {
- "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?! ",
- "Hmmm why arent u hitting me? Lynx too good XDDD",
- "RESOLVER SUCCESSFULLY HIT 0 SHOTS",
- "I think 0 prediction can hit more shots :(",
- "Uphillian Aim???!!!!",
- "Cmon man resolve my beanbot desync :^)",
- "SKID DETECTED NOT RESOLVING!",
- "Azure hits better cmon bro up the game :rofl:"
- },
- },
- ["TracerTextures"] = {
- ["1"] = 7136858729,
- ["2"] = 6333823534,
- ["3"] = 5864341017,
- ["4"] = 9150663556,
- ["5"] = 446111271,
- ["6"] = 2950987173,
- ["7"] = 7151778302,
- ["8"] = 11226108137,
- ["9"] = 6511613786,
- },
- ["sfx"] = {
- ["Bameware"] = "3124331820",
- ["Skeet"] = "4753603610",
- ["Bonk"] = "3765689841",
- ["Lazer Beam"] = "130791043",
- ["Windows XP Error"] = "160715357",
- ["TF2 Hitsound"] = "3455144981",
- ["TF2 Critical"] = "296102734",
- ["TF2 Bat"] = "3333907347",
- ['Bow Hit'] = "1053296915",
- ['Bow'] = "3442683707",
- ['OSU'] = "7147454322",
- ['Minecraft Hit'] = "4018616850",
- ['Steve'] = "5869422451",
- ['1nn'] = "7349055654",
- ['Rust'] = "3744371091",
- ["TF2 Pan"] = "3431749479",
- ["Neverlose"] = "8679627751",
- ["Mario"] = "5709456554",
- },
- ["SkyBoxes"] = {
- ["Normal"] = {600886090,600830446,600831635,600832720,600833862,600835177},
- ["DoomSpire"] = {6050649245,6050664592,6050648475,6050644331,6050649718,6050650083},
- ["CatGirl"] = {444167615,444167615,444167615,444167615,444167615,444167615},
- ["Vibe"] = {1417494402,1417494030,1417494146,1417494253,1417494499,1417494643},
- ["Blue Aurora"] = {12063984,12064107,12064152,12064121,12064115,12064131},
- ["Purple Clouds"] = {151165191,151165214,151165197,151165224,151165206,151165227},
- ["Purple Nebula"] = {159454286,159454299,159454296,159454293,159454300,159454288},
- ["Twighlight"] = {264909758,264908339,264907909,264909420,264908886,264907379},
- ["Vivid Skies"] = {271042310,271042516,271077243,271042556,271042467,271077958},
- ["Purple and Blue"] = {149397684,149397692,149397686,149397697,149397688,149397702},
- },
- ["LightingBackUp"] = {
- ["Ambient"] = Lighting.Ambient,
- ["OutdoorAmbient"] = Lighting.OutdoorAmbient,
- ["ColorShift_Top"] = Lighting.ColorShift_Top,
- ["FogColor"] = Lighting.FogColor,
- ["FogEnd"] = Lighting.FogEnd,
- ["FogStart"] = Lighting.FogStart,
- ["ClockTime"] = Lighting.ClockTime,
- ["Brightness"] = Lighting.Brightness
- },
- ["Angle"] = 0,
- --[[["Maps"] = {
- ["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)},
- ["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)},
- ["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)},
- ["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)},
- },]]
- ["Characters"] = {
- AmongUs = {Vector3.new(0.15,0.15,0.15), "6686375937", "6686375902"},
- SpongeBob = {Vector3.new(5,5,5), "5408463358", "5408463211"},
- Patrick = {Vector3.new(0.4,0.4,0.4), "5730253510", "5730253467"},
- Maxell = {Vector3.new(0.2,0.2,0.2), "12303996609", "12303996327"},
- Brian = {Vector3.new(1.7,1.7,1.7), "512454212", "512454192"},
- CapyBara = {Vector3.new(2,2,2), "11255227067", "11255226712"},
- Chicken = {Vector3.new(3, 3, 3), "2114220248", "2114220154"},
- Sonic = {Vector3.new(0.15,0.15,0.15), "6901422268", "6901422170"},
- }
- }
- --
- local Stomps = {}
- do
- function Stomps:Explode(VictimChar)
- spawn(function()
- local Explosion = game:GetObjects("rbxassetid://12843483581")[1]
- Explosion.Position = VictimChar.UpperTorso.Position
- for i,v in pairs(Explosion:GetChildren()) do
- if v:IsA('Part') then
- local RandomOffsets = {
- [3] = {
- [1] = CFrame.new(0, 0, 0, 0.291951358, -0.454637647, 0.841468394, 0.837198734, -0.303921342, -0.454675913, 0.462452948, 0.837219477, 0.291891754),
- [2] = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- [3] = CFrame.new(0, 0, 0, 0.980090559, 0.139680177, 0.141109571, -0.159390777, 0.977284014, 0.139680177, -0.118393585, -0.159390777, 0.980090559),
- [4] = CFrame.new(0, 0, 0, 0.173127294, 0.378437281, 0.909292102, -0.722461104, -0.578677535, 0.378394246, 0.669385433, -0.722438574, 0.17322135),
- [5] = CFrame.new(0, 0, 0, 0.427273333, 0.494663626, 0.756799459, -0.869062901, -0.00613296032, 0.494663626, 0.249333531, -0.869062901, 0.427273333)
- },
- [4] = {
- [1] = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- [2] = CFrame.new(0, 0, 0, 0.291951358, 0.454619884, -0.841477931, -0.0720763057, 0.887764454, 0.454619884, 0.953713477, -0.0720763057, 0.291951358),
- [3] = CFrame.new(0, 0, 0, 0.17322135, -0.378349423, -0.909310758, 0.0343255848, 0.925026178, -0.378349423, 0.98428458, 0.0343255848, 0.17322135),
- [4] = CFrame.new(0, 0, 0, 0.980090559, -0.13969931, -0.141090572, 0.11998871, 0.982897162, -0.13969931, 0.158193409, 0.11998871, 0.980090559),
- [5] = CFrame.new(0, 0, 0, 0.427273333, -0.494724542, -0.756759584, 0.120325297, 0.860679626, -0.494724542, 0.896079957, 0.120325297, 0.427273333)
- },
- [5] = {
- [1] = CFrame.new(0, 0, 0, 0.291951358, 0.454619884, -0.841477931, -0.0720763057, 0.887764454, 0.454619884, 0.953713477, -0.0720763057, 0.291951358),
- [2] = CFrame.new(0, 0, 0, 0.17322135, -0.378349423, -0.909310758, 0.0343255848, 0.925026178, -0.378349423, 0.98428458, 0.0343255848, 0.17322135),
- [3] = CFrame.new(0, 0, 0, 0.980090559, -0.13969931, -0.141090572, 0.11998871, 0.982897162, -0.13969931, 0.158193409, 0.11998871, 0.980090559),
- [4] = CFrame.new(0, 0, 0, 0.427273333, 0.494663626, 0.756799459, -0.869062901, -0.00613296032, 0.494663626, 0.249333531, -0.869062901, 0.427273333)
- }
- }
- v.CFrame = Explosion.CFrame * RandomOffsets[i][math.random(1, #RandomOffsets[i])]
- end
- end
- Explosion.Parent = workspace.Ignored
- Explosion.Explosion:Play()
- spawn(function()
- local Tween1 = TweenService:Create(Explosion.Mesh, TweenInfo.new(5, Enum.EasingStyle.Circular), {Scale = Vector3.new(27.5, 27.5, 27.5)})
- Tween1:Play()
- for i,v in pairs(Explosion:GetChildren()) do
- if v:FindFirstChild('Mesh') then
- spawn(function()
- local Tween1 = TweenService:Create(v.Mesh, TweenInfo.new(0.1125, Enum.EasingStyle.Circular), {Scale = Vector3.new(12.5, 12.5, 12.5)})
- local Tween2 = TweenService:Create(v.Mesh, TweenInfo.new(1.5875, Enum.EasingStyle.Circular), {Scale = Vector3.new(13.75, 13.75, 13.75)})
- local Tween3 = TweenService:Create(v, TweenInfo.new(0.165), {Transparency = 0.35})
- local Tween4 = TweenService:Create(v, TweenInfo.new(0.9), {Transparency = 1})
- Tween1:Play()
- Tween3:Play()
- Tween1.Completed:Connect(function()
- Tween2:Play()
- end)
- delay(1.425, function()
- Tween4:Play()
- end)
- end)
- end
- end
- local Tween2 = TweenService:Create(Explosion, TweenInfo.new(0.3, Enum.EasingStyle.Sine), {Transparency = 1})
- wait(0.8)
- Tween2:Play()
- end)
- game:GetService('Debris'):AddItem(Explosion, 5)
- end)
- end
- function Stomps:AirStrike(VictimChar)
- spawn(function()
- local Radio = Instance.new("Sound", VictimChar.UpperTorso)
- Radio.SoundId = "http://www.roblox.com/asset/?id=88858815"
- Radio.PlaybackSpeed = 1.5
- Radio.Volume = 1
- Radio:Play()
- local Jet = game:GetObjects("rbxassetid://12868291219")[1]
- Jet.Parent = workspace.Ignored
- Jet.Position = VictimChar.UpperTorso.CFrame.Position + Vector3.new(0, 200, -2000)
- Jet.Sound:Play()
- local function AddExplosion()
- local ExplosionSound = Instance.new("Sound", VictimChar.UpperTorso)
- ExplosionSound.SoundId = "rbxassetid://3802269741"
- local Explosion = Instance.new("Explosion", Jet)
- Explosion.DestroyJointRadiusPercent = 0
- Explosion.BlastPressure = 10000
- Explosion.Position = VictimChar.UpperTorso.Position + Vector3.new(math.random(0,50) * 0.1, 0, math.random(0,50) * 0.1)
- ExplosionSound:Play()
- end
- task.spawn(function()
- task.wait(2.78333333333)
- for i = 1,4 do
- AddExplosion()
- wait(math.random(0, 100) * 0.001)
- end
- end)
- local Tween = TweenService:Create(Jet, TweenInfo.new(5.566666666666666, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
- Position = Jet.go.WorldPosition
- })
- Tween:Play()
- Tween.Completed:Wait()
- Jet:Destroy()
- end)
- end
- function Stomps:Heart(VictimChar)
- spawn(function()
- local Table = {}
- local Heart = game:GetObjects("rbxassetid://12868779018")[1]
- Heart.Parent = workspace.Ignored
- Heart.PartOne.Position = VictimChar.UpperTorso.Position + Vector3.new(0,7,0)
- Heart.PartOne.Anchored = true
- Heart.Part.Position = VictimChar.UpperTorso.Position
- Heart.Part.Anchored = true
- for i,v in pairs(Heart.PartOne:GetDescendants()) do
- if v:IsA("ParticleEmitter") then
- table.insert(Table, v)
- end
- end
- for i, v in pairs(Heart.Part:GetDescendants()) do
- if v:IsA("ParticleEmitter") then
- table.insert(Table, v);
- end;
- end;
- for i, v in pairs(Table) do
- if v:GetAttribute("EmitDelay") then
- task.delay(v:GetAttribute("EmitDelay"), function()
- v:Emit(v:GetAttribute("EmitCount"));
- end);
- else
- v:Emit(v:GetAttribute("EmitCount"));
- end;
- end;
- local Sound = Instance.new("Sound", Heart.PartOne)
- Sound.Volume = 1
- Sound.SoundId = "rbxassetid://1840977366"
- Sound.PlayOnRemove = true
- Sound:Destroy()
- task.wait(0.35)
- for i,v in pairs(VictimChar:GetDescendants()) do
- if v:IsA("BasePart") then
- TweenService:Create(v, TweenInfo.new(0.5, Enum.EasingStyle.Quad), {
- Transparency = 1
- }):Play()
- end
- end
- game.Debris:AddItem(Heart, 10)
- end)
- end
- function Stomps:UFO(VictimChar)
- spawn(function()
- local UFO = game:GetObjects("rbxassetid://12876678129")[1]
- UFO.Parent = workspace.Ignored
- local Sound = Instance.new("Sound", VictimChar.UpperTorso)
- Sound.SoundId = "rbxassetid://138207483"
- Sound:Play()
- game.Debris:AddItem(Sound, 5)
- local Effect = UFO.Effect
- Effect.CFrame = CFrame.new(VictimChar.UpperTorso.Position.X, VictimChar.UpperTorso.Position.Y + 35, VictimChar.UpperTorso.Position.Z)
- TweenService:Create(Effect, TweenInfo.new(0.5), {
- Transparency = 0
- }):Play()
- game.Debris:AddItem(Effect, 5)
- task.wait(0.5)
- local Main = UFO.Main
- Main.CFrame = CFrame.new(VictimChar.UpperTorso.Position.X, VictimChar.UpperTorso.Position.Y - 1, VictimChar.UpperTorso.Position.Z)
- game.Debris:AddItem(Main, 4)
- TweenService:Create(Main, TweenInfo.new(4), {
- CFrame = CFrame.new(Main.Position.X, Main.Position.Y + 20, Main.Position.Z)
- }):Play()
- TweenService:Create(Effect, TweenInfo.new(4), {
- CFrame = CFrame.new(Effect.Position.X, Effect.Position.Y + 20, Effect.Position.Z)
- }):Play()
- for i,v in pairs(VictimChar:GetDescendants()) do
- if not (not v:IsA("BasePart")) or not (not v:IsA("MEshPart")) or v:IsA("Decal") then
- TweenService:Create(v, TweenInfo.new(4), {
- Transparency = 1
- }):Play()
- end
- end
- task.delay(4, function()
- TweenService:Create(Effect, TweenInfo.new(4), {
- Transparency = 1
- }):Play()
- end)
- end)
- end
- function Stomps:Glitch(VictimChar)
- spawn(function()
- local Glitch = game:GetObjects("rbxassetid://12886574483")[1]
- Glitch.Parent = workspace.Ignored
- Glitch.CFrame = VictimChar.UpperTorso.CFrame + Vector3.new(0, -0.5, 0)
- Glitch.Orientation = VictimChar.UpperTorso.Orientation
- for i,v in pairs(VictimChar:GetDescendants()) do
- if not (not v:IsA("BasePart")) or not (not v:IsA("MEshPart")) or v:IsA("Decal") then
- TweenService:Create(v, TweenInfo.new(4), {
- Transparency = 1
- }):Play()
- end
- end
- game.Debris:AddItem(Glitch, 4.5)
- for i,v in pairs(Glitch:GetChildren()) do
- if v:IsA("ParticleEmitter") then
- TweenService:Create(v, TweenInfo.new(4), {
- Rate = 0
- }):Play()
- end
- end
- local Sound = Instance.new("Sound", VictimChar.UpperTorso)
- Sound.SoundId = "rbxassetid://8880764455"
- Sound:Play()
- end)
- end
- function Stomps:CosmicSlash(VictimChar)
- spawn(function()
- local Tween = game:GetObjects("rbxassetid://12888729215")[1]
- local XSlash = game:GetObjects("rbxassetid://12888745636")[1]
- local Folder = Instance.new("Folder", workspace.Ignored)
- local sucess, err = pcall(function()
- for i,v in pairs(VictimChar:GetDescendants()) do
- if not (not v:IsA("BasePart")) or not (not v:IsA("MeshPart")) or v:IsA("Decal") then
- TweenService:Create(v, TweenInfo.new(4), {
- Transparency = 1
- }):Play()
- end
- end
- local Part = Instance.new("Part")
- local HRP = VictimChar:FindFirstChild("HumanoidRootPart")
- Part.CFrame = CFrame.new(VictimChar.UpperTorso.CFrame.p) * CFrame.new(0,2.2,0)
- local Particles = XSlash.particles
- local Particles2 = XSlash.particles2
- local Beams = XSlash.Beams
- local Main = XSlash.Main
- Main.CFrame = Part.CFrame * CFrame.new(0, -2.7, 0)
- Main.Parent = Folder
- game.Debris:AddItem(Main, 3)
- Sound:Play()
- game.Debris:AddItem(Sound, 3)
- Particles2.CFrame = Part.CFrame * CFrame.Angles(0, -2.3935096295999836, 0)
- Particles2.Parent = Folder
- game.Debris:AddItem(Particles2, 3)
- Particles.CFrame = Part.CFrame * CFrame.Angles(0, -0.8226958495125671, 0)
- Particles.Parent = Folder
- game.Debris:AddItem(Particles, 3)
- Main.Attachment.OUT3:Emit(6)
- Main.Attachment.OUT2:Emit(6)
- Main.Attachment.OUT:Emit(4)
- Main.Attachment.ParticleEmitter:Emit(2)
- TweenService:Create(Main.PointLight, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {
- Brightness = 5
- }):Play()
- wait(0.06)
- Main.Attachment.IN:Emit(4)
- wait(0.1)
- Main.Attachment2.ParticleEmitter:Emit(39)
- wait(0.28)
- Main.Attachment.OUTFX:Emit(4)
- Main.Attachment.OUTFX2:Emit(4)
- Main.Attachment2.ParticleEmitterOUT:Emit(39)
- for i,v in pairs(Particles:GetChildren()) do
- v:Emit(v:GetAttribute("EmitCount"))
- end
- for i,v in pairs(Particles2:GetChildren()) do
- v:Emit(v:GetAttribute("EmitCount"))
- end
- spawn(function()
- Tween.Parent = game.Lighting
- game.TweenService:Create(Tween, TweenInfo.new(0.2), {
- TintColor = Color3.fromRGB(172, 78, 255),
- Brightness = 0.5,
- Contrast = 1,
- Saturation = -1
- }):Play();
- wait(0.2);
- game.TweenService:Create(Tween, TweenInfo.new(0.3), {
- TintColor = Color3.fromRGB(255, 255, 255),
- Brightness = 0,
- Contrast = 0,
- Saturation = 0
- }):Play();
- game.Debris:AddItem(Tween, 0.3);
- end)
- local PrimartyPart = Beams.PrimaryPart
- spawn(function()
- PrimartyPart.CFrame = Part.CFrame * CFrame.new(0, -2.7, 0)
- Beams.Parent = Folder
- for i = 0, 1, 0.1 do
- Beams:FindFirstChild("Part1").BEAM.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM1.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM2.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM3.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM4.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM5.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM6.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part1").BEAM7.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM1.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM2.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM3.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM4.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM5.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM6.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part2").BEAM7.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM1.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM2.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM3.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM4.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM5.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM6.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part3").BEAM7.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM1.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM2.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM3.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM4.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM5.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM6.Transparency = NumberSequence.new(i);
- Beams:FindFirstChild("Part4").BEAM7.Transparency = NumberSequence.new(i);
- wait(0.001);
- end
- end)
- wait(0.4)
- TweenService:Create(Main.PointLight, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {
- Brightness = 0
- }):Play();
- end)
- if sucess then
- task.delay(25, function()
- Folder:Destroy()
- end)
- return
- end
- Folder:Destroy()
- Tween:Destroy()
- end)
- end
- end
- --
- local Highlights = Instance.new("Folder")
- Highlights.Parent = game.CoreGui
- --
- if not LPH_OBFUSCATED then
- LPH_JIT_MAX = function(...) return (...) end;
- LPH_NO_VIRTUALIZE = function(...) return (...) end;
- LPH_JIT = function(...) return (...) end;
- end
- --
- for i,v in pairs(Lynx.Files.Folders) do
- makefolder(v)
- end
- --
- for LuaName, Contents in pairs(Lynx.Files.Luas) do
- writefile("Lynx/Luas/" .. LuaName .. ".lua", Contents)
- end
- --
- if not isfile("Lynx/Assets/Auto Prediction.txt") then
- 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")
- end
- --
- --
- if not isfile("Lynx/Assets/Shit Talk.txt") then
- writefile("Lynx/Assets/Shit Talk.txt", "You're a dog nn\nGet Good Get Lynx\nLOL")
- end
- --
- utility.ShitTalk.Custom = readfile("Lynx/Assets/Shit Talk.txt"):split("\n")
- --
- local ui = {}
- --
- local uis = game:GetService('UserInputService')
- local txtservice = game:GetService('TextService')
- local ts = game:GetService('TweenService')
- local rs = game:GetService('RunService')
- local hs = game:GetService('HttpService')
- local HttpService = game:GetService("HttpService")
- local ENABLE_TRACEBACK = false
- local Signal = {}
- do
- Signal.__index = Signal
- Signal.ClassName = "Signal"
- --[=[
- Returns whether a class is a signal
- @param value any
- @return boolean
- ]=]
- function Signal.isSignal(value)
- return type(value) == "table" and getmetatable(value) == Signal
- end
- --[=[
- Constructs a new signal.
- @return Signal<T>
- ]=]
- function Signal.new()
- local self = setmetatable({}, Signal)
- self._bindableEvent = Instance.new("BindableEvent")
- self._argMap = {}
- self._source = ENABLE_TRACEBACK and debug.traceback() or ""
- self._bindableEvent.Event:Connect(function(key)
- self._argMap[key] = nil
- if (not self._bindableEvent) and (not next(self._argMap)) then
- self._argMap = nil
- end
- end)
- return self
- end
- --[=[
- Fire the event with the given arguments. All handlers will be invoked. Handlers follow
- @param ... T -- Variable arguments to pass to handler
- ]=]
- function Signal:Fire(...)
- if not self._bindableEvent then
- warn(("Signal is already destroyed. %s"):format(self._source))
- return
- end
- local args = table.pack(...)
- local key = HttpService:GenerateGUID(false)
- self._argMap[key] = args
- self._bindableEvent:Fire(key)
- end
- --[=[
- Connect a new handler to the event. Returns a connection object that can be disconnected.
- @param handler (... T) -> () -- Function handler called when `:Fire(...)` is called
- @return RBXScriptConnection
- ]=]
- function Signal:Connect(handler)
- if not (type(handler) == "function") then
- error(("connect(%s)"):format(typeof(handler)), 2)
- end
- return self._bindableEvent.Event:Connect(function(key)
- local args = self._argMap[key]
- if args then
- handler(table.unpack(args, 1, args.n))
- else
- error("Missing arg data, probably due to reentrance.")
- end
- end)
- end
- --[=[
- Wait for fire to be called, and return the arguments it was given.
- @yields
- @return T
- ]=]
- function Signal:Wait()
- local key = self._bindableEvent.Event:Wait()
- local args = self._argMap[key]
- if args then
- return table.unpack(args, 1, args.n)
- else
- error("Missing arg data, probably due to reentrance.")
- return nil
- end
- end
- --[=[
- Disconnects all connected events to the signal. Voids the signal as unusable.
- Sets the metatable to nil.
- ]=]
- function Signal:Destroy()
- if self._bindableEvent then
- self._bindableEvent:Destroy()
- self._bindableEvent = nil
- end
- setmetatable(self, nil)
- end
- end
- local Connections = {}
- local function Tween(frame,time,style,direction,props)
- local a = ts:Create(frame,TweenInfo.new(time,Enum.EasingStyle[style],Enum.EasingDirection[direction]),props)
- a:Play()
- return a
- end
- local function formatTable(t)
- local t = t or {}
- local new = {}
- for i,v in pairs(t) do
- new[tostring(i):lower()] = v
- end
- return new
- end
- local function create(className,options)
- local options = options or {}
- local inst = Instance.new(className)
- for i,v in pairs(options) do
- inst[i] = v
- end
- return inst
- end
- local function TabInsert(t,v)
- if not table.find(t,v) then
- table.insert(t,v)
- end
- end
- local function TabRemove(t,v)
- local a = table.find(t,v)
- if a then
- table.remove(t,a)
- end
- end
- local function Dragify(frame,frame2)
- local frame2 = frame2 or frame
- local dragging = false
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- frame2.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- frame2.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- uis.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- local function SetupFrame(frame,options)
- local options = formatTable(options)
- local uiCorner,stroke,list,pad
- if options.corner then
- local cornerOptions = formatTable(options.corner)
- uiCorner = create('UICorner',{
- Parent = frame,
- CornerRadius = cornerOptions.radius or UDim.new(),
- })
- end
- if options.stroke then
- local strokeOptions = formatTable(options.stroke)
- stroke = create('UIStroke',{
- Name = 'Stroke',
- Parent = frame,
- Thickness = 1,
- Transparency = 0,
- Color = strokeOptions.Color or Color3.fromRGB(40,40,40), -- ps it doesnt even change
- LineJoinMode = 'Round',
- ApplyStrokeMode = 'Contextual'
- })
- end
- if options.list then
- local listOptions = formatTable(options.list)
- list = create('UIListLayout',{
- Parent = frame,
- Padding = listOptions.pad or UDim.new(),
- FillDirection = listOptions.direction or 'Vertical',
- HorizontalAlignment = listOptions.horizontalalignment or 'Left',
- SortOrder = listOptions.order or 'LayoutOrder',
- VerticalAlignment = listOptions.verticalalignment or 'Top',
- })
- end
- if options.pad then
- local padOptions = formatTable(options.pad)
- pad = create('UIPadding',{
- Parent = frame,
- PaddingBottom = padOptions.bottom or UDim.new(),
- PaddingTop = padOptions.top or UDim.new(),
- PaddingRight = padOptions.right or UDim.new(),
- PaddingLeft = padOptions.left or UDim.new(),
- })
- end
- return uiCorner,stroke,list,pad
- end
- local function CreateElement(element) -- aka create holder
- local holder = element._holder
- local elementHolder = create('Frame',{
- Name = #holder:GetChildren()-(element._settingMenu and 0 or 3),
- Parent = holder,
- Size = UDim2.new(1,0,0,15),
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- ZIndex = holder.ZIndex+1,
- })
- local holder = create('Frame',{
- Name = 'Holder',
- Parent = elementHolder,
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Position = element._holderPosition or UDim2.new(0,80,0,0),
- Size = element._holderSize or UDim2.new(0,100,1,0),
- ZIndex = elementHolder.ZIndex+1,
- })
- SetupFrame(holder,{
- List = {Pad = UDim.new(0,5),Direction = 'Horizontal',horizontalalignment = 'Right',verticalalignment = 'Top'},
- })
- return holder
- end
- local function CreateSlider(frame,options)
- local options = formatTable(options)
- local side = options.side or 'X'
- local offset = side == 'Y' and 36 or 0
- local min = options.min or 0
- local max = options.max or 100
- local default = options.default or 0
- local float = options.float or 1
- local set = options.set or function() end
- local button = create('Frame',{
- Parent = frame,
- Name = 'Button',
- BackgroundTransparency = 1,
- Position = UDim2.new(),
- Size = UDim2.new(1,0,1,0),
- ZIndex = frame.ZIndex+1,
- })
- local function slide(input)
- local x = (input.Position[side]-frame.AbsolutePosition[side])/frame.AbsoluteSize[side]
- local value = ((max-min)*x)+min
- value = math.floor(value*(1/float))/(1/float)
- value = math.clamp(value,min,max)
- set(value)
- end
- set(default)
- local sliding = false
- button.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- sliding = true
- slide(input)
- end
- end)
- button.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- sliding = false
- slide(input)
- end
- end)
- uis.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement and sliding then
- slide(input)
- end
- end)
- return button
- end
- local function CreateInput(textlabel,options)
- local textbox = create('TextBox',{
- Parent = textlabel.Parent,
- ClearTextOnFocus = false,
- Font = textlabel.Font,
- FontFace = textlabel.FontFace,
- LineHeight = textlabel.LineHeight,
- Position = textlabel.Position,
- Size = textlabel.Size,
- Text = textlabel.Text,
- TextColor3 = textlabel.TextColor3,
- TextScaled = textlabel.TextScaled,
- TextSize = textlabel.TextSize,
- Name = textlabel.Name,
- ZIndex = textlabel.ZIndex,
- BackgroundTransparency = textlabel.BackgroundTransparency,
- TextTransparency = textlabel.TextTransparency,
- TextXAlignment = textlabel.TextXAlignment,
- BorderSizePixel = textlabel.BorderSizePixel,
- })
- textlabel:Destroy()
- local options = formatTable(options)
- local callback = options.callback or function() end
- if options.focuses then
- textbox.Focused:Connect(function()
- callback(false,textbox.Text)
- end)
- textbox.FocusLost:Connect(function(a,b)
- callback(true,textbox.Text,a,b)
- end)
- else
- textbox:GetPropertyChangedSignal('Text'):Connect(function()
- callback(textbox.Text)
- end)
- end
- return textbox
- end
- -- im master of sphagetti code when it comes to uis LOL
- local Elements = {}
- Elements.__index = Elements
- local function CombineTables(t,t2)
- local t3 = {}
- for i,v in pairs(t) do
- t3[i] = v
- end
- for i,v in pairs(t2) do
- t3[i] = v
- end
- return setmetatable(t3,Elements)
- end
- local Segment = {} -- i have no clue how to call it srry
- Segment.__index = Segment
- function Segment:CreateSegment(options)
- local options = formatTable(options)
- local holder = CreateElement(self)
- local elementsClass = {_holder = holder,_window = self._window,_sector = self._sector,_tabSector = self._tabSector,_segment = true}
- if options.name then
- elementsClass._title = true
- create('TextLabel',{
- Name = 'Title',
- Parent = holder.Parent,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- BackgroundTransparency = 1.000,
- BorderColor3 = Color3.fromRGB(0, 0, 0),
- BorderSizePixel = 0,
- Size = UDim2.new(1, 0, 0, 12),
- ZIndex = holder.ZIndex+1,
- Font = Enum.Font.GothamMedium,
- TextColor3 = Color3.fromRGB(200, 200, 200),
- TextSize = 12.000,
- TextXAlignment = Enum.TextXAlignment.Left,
- Text = options.name or ''
- })
- end
- return setmetatable(elementsClass,Elements)
- end
- function Elements:Colorpicker(options)
- local options = formatTable(options)
- local mainHolder = self._holder
- if not self._segment then
- mainHolder = CreateElement(self)
- end
- if not mainHolder.Parent:FindFirstChild('Title') then
- create('TextLabel',{
- Name = 'Title',
- Parent = mainHolder.Parent,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- BackgroundTransparency = 1.000,
- BorderColor3 = Color3.fromRGB(0, 0, 0),
- BorderSizePixel = 0,
- Size = UDim2.new(1, 0, 0, 12),
- ZIndex = mainHolder.ZIndex+1,
- Font = Enum.Font.GothamMedium,
- TextColor3 = Color3.fromRGB(200, 200, 200),
- TextSize = 12.000,
- TextXAlignment = Enum.TextXAlignment.Left,
- Text = options.name or ''
- })
- end
- local sector = self._tabSector
- local zindexadd = 300+300*#sector:GetChildren()
- local colorpickerIcon = create('ImageLabel',{
- Parent = mainHolder,
- Name = (10-#mainHolder:GetChildren()),
- BackgroundTransparency = 1.000,
- BorderSizePixel = 0,
- Position = UDim2.new(0, 46, 0, 0),
- Size = UDim2.new(0, 15, 0, 15),
- ZIndex = mainHolder.ZIndex+1,
- Image = "http://www.roblox.com/asset/?id=14259665095",
- ImageColor3 = Color3.fromRGB(200, 200, 200),
- SliceScale = 4.000,
- })
- local scroll = self._tabSector
- local scrollY = scroll.CanvasSize.Y.Offset
- local edgeX = scroll.AbsolutePosition.X+scroll.AbsoluteSize.X
- local sizex = 125
- local offset = 15
- local posX = ((colorpickerIcon.AbsolutePosition.X+offset >= edgeX or colorpickerIcon.AbsolutePosition.X+offset+sizex >= edgeX) and -(sizex+offset) or offset+(colorpickerIcon.AbsoluteSize.X/2))
- local posY = math.clamp(colorpickerIcon.AbsolutePosition.Y-60,scroll.AbsolutePosition.Y,scroll.AbsolutePosition.Y+scrollY)
- local colorpickerFrame = create('Frame',{
- Name = 'ColorpickerFrame',
- Parent = colorpickerIcon,
- BackgroundColor3 = Color3.fromRGB(30, 30, 30),
- BorderColor3 = Color3.fromRGB(0, 0, 0),
- BorderSizePixel = 0,
- Position = UDim2.new(0, posX, 0, posY-colorpickerIcon.AbsolutePosition.Y+2),
- Size = UDim2.new(0, sizex, 0, 135),
- ZIndex = zindexadd+1,
- Visible = false,
- })
- SetupFrame(colorpickerFrame,{corner = {radius = UDim.new(0,4)},stroke = {}})
- local button = create('TextButton',{
- Parent = colorpickerIcon,
- Size = UDim2.new(1,0,1,0),
- TextTransparency = 1,
- BackgroundTransparency = 1,
- ZIndex = zindexadd+1
- })
- button.MouseButton1Down:Connect(function()
- colorpickerFrame.Visible = not colorpickerFrame.Visible
- end)
- scroll:GetPropertyChangedSignal('CanvasSize'):Connect(function()
- scrollY = scroll.CanvasSize.Y.Offset
- posY = math.clamp(colorpickerIcon.AbsolutePosition.Y-60,scroll.AbsolutePosition.Y,scroll.AbsolutePosition.Y+scrollY)
- colorpickerFrame.Position = UDim2.new(0, posX, 0, posY-colorpickerIcon.AbsolutePosition.Y+2)
- end)
- -- 5 fucking frames 3 textlables and 1 image i fucking hate colorpicker i made
- local mainColorpicker = create('Frame',{
- Name = 'Colorpicker',
- Parent = colorpickerFrame,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- BorderSizePixel = 0,
- Position = UDim2.new(0, 5, 0, 5),
- Size = UDim2.new(0, 100, 0, 90),
- ZIndex = zindexadd+2,
- })
- SetupFrame(mainColorpicker,{Corner = {radius = UDim.new(0,4)}})
- local image = create('ImageLabel',{
- ZIndex = zindexadd+3,
- Parent = mainColorpicker,
- Image = 'rbxassetid://4155801252',
- Size = UDim2.new(1,0,1,0)
- })
- local hue = create('Frame',{
- Name = 'Hue',
- Parent = colorpickerFrame,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- BorderColor3 = Color3.fromRGB(0, 0, 0),
- BorderSizePixel = 0,
- Position = UDim2.new(0, 5, 0, 100),
- Size = UDim2.new(0, 115, 0, 11),
- ZIndex = zindexadd+2,
- })
- SetupFrame(hue,{corner = {radius = UDim.new(0,4)}})
- create('UIGradient',{
- Parent = hue,
- Enabled = true,
- Rotation = 0,
- Color = ColorSequence.new{
- ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)),
- ColorSequenceKeypoint.new(0.17, Color3.fromRGB(255, 255, 0)),
- ColorSequenceKeypoint.new(0.33, Color3.fromRGB(0, 255, 0)),
- ColorSequenceKeypoint.new(0.50, Color3.fromRGB(0, 255, 255)),
- ColorSequenceKeypoint.new(0.66, Color3.fromRGB(0, 0, 255)),
- ColorSequenceKeypoint.new(0.82, Color3.fromRGB(255, 0, 255)),
- ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))
- }
- })
- local alpha = create('ImageLabel',{
- Name = 'Alpha',
- Parent = colorpickerFrame,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- BorderSizePixel = 0,
- Position = UDim2.new(0, 110, 0, 5),
- Size = UDim2.new(0, 10, 0, 90),
- ZIndex = zindexadd+2,
- Image = "rbxassetid://14248403322",
- })
- local alphaslideFrame = create('Frame',{
- BackgroundTransparency = 1,
- Parent = alpha,
- Size = UDim2.new(1,0,1,-2)
- })
- local alphapicker = create('Frame',{
- Parent = alphaslideFrame,
- BorderSizePixel = 1,
- Size = UDim2.new(1,-2,0,2),
- Position = UDim2.new(0,1,0,0),
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- ZIndex = zindexadd+4
- })
- local hueslideFrame = create('Frame',{
- BackgroundTransparency = 1,
- Parent = hue,
- Size = UDim2.new(1,-2,1,0)
- })
- local huepicker = create('Frame',{
- Parent = hueslideFrame,
- BorderSizePixel = 1,
- Size = UDim2.new(0,2,1,-2),
- Position = UDim2.new(0,0,0,1),
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- ZIndex = zindexadd+4
- })
- local colorpickerSlide = create('Frame',{
- Parent = mainColorpicker,
- Name = 'SlideFrame',
- Size = UDim2.new(1,-3,1,-3),
- Position = UDim2.new(0,1,0,1),
- BackgroundTransparency = 1,
- })
- local colorpointer = create('Frame',{
- Parent = colorpickerSlide,
- Name = 'Picker',
- Size = UDim2.new(0,6,0,6),
- Position = UDim2.new(),
- BorderSizePixel = 1,
- BackgroundColor3 = Color3.fromRGB(255, 255, 255),
- ZIndex = zindexadd+4
- })
- local inputs = {}
- for i=1,3 do -- i am NOT doing 3 20 lines of code
- local mainFrame = create('Frame',{
- Name = tostring(i),
- Parent = colorpickerFrame,
- BackgroundColor3 = Color3.fromRGB(30, 30, 30),
- BackgroundTransparency = 0.500,
- BorderColor3 = Color3.fromRGB(0, 0, 0),
- BorderSizePixel = 0,
- Position = UDim2.new(0, 6+(39*(i-1)), 0, 116),
- Size = UDim2.new(0, 35, 0, 14),
- ZIndex = zindexadd+2,
- })
- local a = create('TextLabel',{
- Name = tostring(i),
- Parent = mainFrame,
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Position = UDim2.new(0, 1, 0, 0),
- Size = UDim2.new(1, 0, 1, -1),
- ZIndex = zindexadd+3,
- Font = Enum.Font.Gotham,
- Text = "255",
- TextColor3 = Color3.fromRGB(180, 180, 180),
- TextSize = 11.000,
- TextWrapped = true,
- })
- 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 = {}})
- table.insert(inputs,a)
- end
- local window = self._window
- local callback = options.callback or function() end
- local flag = options.flag; if not flag then window._undefinedFlags += 1; flag = 'undefined_'..window._undefinedFlags end
- local callback = options.callback or function() end
- local default = {Color = Color3.fromRGB(255, 255, 255),Alpha = 0}
- if options.default then
- if typeof(options.default) == 'Color3' then
- default.Color = options.default
- elseif typeof(options.default) == 'table' then
- default = options.default
- end
- end
- window.flags[flag] = {Color = default.Color,Alpha = default.Alpha or 0}
- local h,s,v = default.Color:ToHSV()
- local a = default.Alpha or 0
- local function set(color,setpos)
- local newhue,newsat,newval = color:ToHSV()
- if setpos then
- h = newhue
- s = newsat
- v = newval
- alphapicker.Position = UDim2.new(0,1,a,0)
- huepicker.Position = UDim2.new(h,0,0,1)
- colorpointer.Position = UDim2.new(1-s,-3,1-v,-3)
- end
- image.ImageColor3 = Color3.fromHSV(h,1,1)
- alpha.BackgroundColor3 = Color3.fromHSV(h,1,1)
- inputs[1].Text = math.floor(color.R*255)
- inputs[2].Text = math.floor(color.G*255)
- inputs[3].Text = math.floor(color.B*255)
- window.flags[flag].Color = color
- window.flags[flag].Alpha = a
- callback(window.flags[flag])
- end
- local function SetA(newa)
- a = newa
- alphapicker.Position = UDim2.new(0,1,a,0)
- set(Color3.fromHSV(h,1-s,1-v))
- end
- local function SetH(value)
- h = value
- huepicker.Position = UDim2.new(h,0,0,1)
- set(Color3.fromHSV(h,1-s,1-v))
- end
- local function SetS(value)
- s = value
- colorpointer.Position = UDim2.new(s,-3,v,-3)
- set(Color3.fromHSV(h,1-s,1-v))
- end
- local function SetV(value)
- v = value
- colorpointer.Position = UDim2.new(s,-3,v,-3)
- set(Color3.fromHSV(h,1-s,1-v))
- end
- CreateSlider(alphaslideFrame,{side = 'Y',min=0,max=1,float=0.01,default=0,set=SetA})
- CreateSlider(hueslideFrame,{side = 'X',min=0,max=1,float=0.01,default=0,set=SetH})
- CreateSlider(colorpickerSlide,{side = 'X',min=0,max=1,float=0.01,default=0,set=SetS})
- CreateSlider(colorpickerSlide,{side = 'Y',min=0,max=1,float=0.01,default=0,set=SetV})
- set(default.Color,true)
- local r,g,b
- local textbox;textbox = CreateInput(inputs[1],{focuses = true,callback = function(a,text,b,c)
- if not a then
- r = text
- else
- if tonumber(text) then
- set(Color3.fromRGB(text,inputs[2].Text,inputs[3].Text),true)
- else
- textbox.Text = r
- end
- end
- end})
- inputs[1] = textbox
- local textbox;textbox = CreateInput(inputs[2],{focuses = true,callback = function(a,text,b,c)
- if not a then
- g = text
- else
- if tonumber(text) then
- set(Color3.fromRGB(inputs[1].Text,text,inputs[3].Text),true)
- else
- textbox.Text = g
- end
- end
- end})
- inputs[2] = textbox
- local textbox;textbox = CreateInput(inputs[3],{focuses = true,callback = function(a,text,b,c)
- if not a then
- b = text
- else
- if tonumber(text) then
- set(Color3.fromRGB(inputs[1].Text,inputs[2].Text,text),true)
- else
- textbox.Text = b
- end
- end
- end})
- ... (211 KB left)