Osiris
Osiris
--
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%20Drawing%20Api.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
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')
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 Elements = {}
Elements.__index = Elements
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)
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
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)
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 a = default.Alpha or 0
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
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})
inputs[3] = textbox
window._FlagsSet[flag] = SetValue
end
function Elements:Settings(options)
local options = formatTable(options)
local posY =
math.clamp(settingIcon.AbsolutePosition.Y+(-contentSize/2+7),scroll.AbsolutePositio
n.Y,scroll.AbsolutePosition.Y+scroll.AbsoluteSize.Y)
settingFrame.Size = UDim2.new(0,sizex,0,contentSize)
settingFrame.Position = UDim2.new(0, posX, 0, posY-
settingIcon.AbsolutePosition.Y+2)
end
list:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(UpdatePos)
scroll:GetPropertyChangedSignal('CanvasSize'):Connect(UpdatePos)
return setmetatable(
{
_holder = settingsHolder,
_window = self._window,
_tabSector = self._tabSector,
_sector = self._sector,
_settingMenu = true,
_holderSize = UDim2.new(1,-60,1,0),
_holderPosition = UDim2.new(1,-80,0,0)
},
{__index = Elements}
)
end
function Elements:Title(options)
local options = formatTable(options)
local oldMainholder = CreateElement(self)
local mainHolder = oldMainholder.Parent
oldMainholder:Destroy()
if description then
mainHolder.Size = UDim2.new(1, 0, 0, 28)
end
SetupFrame(mainHolder,{
list = {Pad = UDim.new(0,4),direction = 'Vertical',horizontalalignment
= 'Left',verticalalignment = 'Center'}
})
create('TextLabel',{
Parent = mainHolder,
Name = 'Title',
LayoutOrder = 1,
BackgroundTransparency = 1,
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, description and 12 or 15),
ZIndex = mainHolder.ZIndex+1,
Font = Enum.Font.GothamMedium,
TextColor3 = Color3.fromRGB(200, 200, 200),
TextSize = 12,
TextXAlignment = Enum.TextXAlignment.Left,
Text = title
})
if description then
create('TextLabel',{
Parent = mainHolder,
Name = 'Description',
LayoutOrder = 2,
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.Gotham,
Text = description,
TextColor3 = Color3.fromRGB(108, 108, 108),
TextSize = 12.000,
TextWrapped = true,
TextXAlignment = Enum.TextXAlignment.Left,
})
end
end
function Elements:Toggle(options)
local options = formatTable(options)
local mainHolder = self._holder
window._FlagsSet[flag] = Set
window._FlagsSet[flag] = set
local textLabel;
if showvalue then
textLabel = create('TextLabel',{
Parent = SlideHolder,
Name = 'Counter',
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(0,
txtservice:GetTextSize(tostring(max),12,Enum.Font['GothamMedium'],Vector2.new(math.
huge,math.huge)).X, 1, 0),
ZIndex = SlideHolder.ZIndex+1,
Font = Enum.Font.GothamMedium,
TextColor3 = Color3.fromRGB(200, 200, 200),
TextSize = 12.000,
TextXAlignment = 'Right'
})
end
local function set(newval)
newval = math.clamp(newval,min,max)
circle.Position = UDim2.new((newval-min)/(max-min),-3,0,-6)
if textLabel then
textLabel.Text = tostring(newval)
end
window.flags[flag] = newval
callback(newval)
end
set(default)
window._FlagsSet[flag] = set
},{__index = newmt})
end
function Elements:Dropdown(options)
local options = formatTable(options)
local mainHolder = self._holder
local ChosenFrames = {}
local FramesChosen = {}
local function OnClick(frame) -- last time it took like a day or something
if not FramesChosen[frame] then
if #ChosenFrames == max then -- causes double update + stack
overflow otherwise
local frame = ChosenFrames[1]
Tween(frame,0.25,'Quad','In',{TextColor3 =
Color3.fromRGB(125, 125, 125)})
TabRemove(current,frame.Text)
TabRemove(ChosenFrames,frame)
FramesChosen[frame] = false
end
Tween(frame,0.25,'Quad','In',{TextColor3 = Color3.fromRGB(255,
255, 255)})
TabInsert(current,frame.Text)
TabInsert(ChosenFrames,frame)
FramesChosen[frame] = true
else -- trying to remove
if #current <= min then return end
Tween(frame,0.25,'Quad','In',{TextColor3 = Color3.fromRGB(125,
125, 125)})
TabRemove(current,frame.Text)
TabRemove(ChosenFrames,frame)
FramesChosen[frame] = false
end
Update()
end
local indx = 1
local choicesholders = {}
for i,v in pairs(choices) do
local frame = create('TextLabel',{
Parent = optionsHolder,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 1, 0, 1),
Size = UDim2.new(1, -5, 0, 12),
ZIndex = zindexadd+11,
Font = Enum.Font.Gotham,
Text = tostring(v),
TextColor3 = Color3.fromRGB(125, 125, 125),
TextSize = 11,
TextXAlignment = Enum.TextXAlignment.Left,
})
choicesholders[tostring(v)] = frame
local button = create('TextButton',{
Parent = frame,
BackgroundTransparency = 1,
TextTransparency = 1,
Size = UDim2.new(1,0,1,0),
ZIndex = frame.ZIndex+1,
})
frame.MouseEnter:Connect(function()
if FramesChosen[frame] then return end
Tween(frame,0.25,'Quad','In',{TextColor3 = Color3.fromRGB(200,
200, 200)})
end)
frame.MouseLeave:Connect(function()
if FramesChosen[frame] then return end
Tween(frame,0.25,'Quad','In',{TextColor3 = Color3.fromRGB(125,
125, 125)})
end)
button.MouseButton1Down:Connect(function()
OnClick(frame)
end)
optionsHolder:GetPropertyChangedSignal('ZIndex'):Connect(function()
frame.ZIndex = optionsHolder.ZIndex + 1
button.ZIndex = frame.ZIndex + 1
end)
if min >= indx then
OnClick(frame)
end
indx += 1
end
optionsHolder.Size = UDim2.new(1,-5,0,0)
self._sector.ChildAdded:Connect(function()
zindexadd = 100+(#self._sector:GetChildren()-currentChild)*100
dropdownHolder.ZIndex = zindexadd
optionsHolder.ZIndex = zindexadd+1
choiceText.ZIndex = zindexadd+1
btn.ZIndex = zindexadd+1
end)
btn.MouseButton1Down:Connect(function()
optionsHolder.Visible = not optionsHolder.Visible
local time = optionsHolder.Visible and 0.4 or 0.3
local size = optionsHolder.Visible and
UDim2.new(0,90,1,math.clamp(optionsHolder.AbsoluteCanvasSize.Y,20,100)+5) or
UDim2.new(0, 90, 1, 0)
local size2 =optionsHolder.Visible and
UDim2.new(1,0,0,math.clamp(optionsHolder.AbsoluteCanvasSize.Y,20,100)+5) or
UDim2.new(1,0,0,0)
Tween(dropdownHolder,time,'Quad','InOut',{Size = size})
Tween(optionsHolder,time,'Quad','InOut',{Size = size2})
end)
local function SetValue(newoptions)
if typeof(newoptions) == 'table' then
for i,v in pairs(newoptions) do
if not choices[i] then newoptions[i] = nil end
end
else
newoptions = {newoptions}
end
current = newoptions
for i,v in pairs(choicesholders) do
local a = table.find(current,i)
v.TextColor3 = a and Color3.fromRGB(255,255,255) or
Color3.fromRGB(125, 125, 125)
FramesChosen[v] = a ~= nil
local b = table.find(ChosenFrames,v)
if b then table.remove(ChosenFrames,b) end
end
Update()
end
window._FlagsSet[flag] = SetValue
btn.MouseButton1Down:Connect(callback)
end
mainHolder.Size += UDim2.new(0,0,0,1)
create('TextLabel',{
Name = 'Title',
Parent = mainHolder.Parent,
BackgroundTransparency = 1.000,
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 ''
})
local keybindHolder = create("Frame",{
Name = 'KeybindHolder',
Parent = mainHolder,
BackgroundColor3 = Color3.fromRGB(30, 30, 30),
BackgroundTransparency = 0.5,
BorderSizePixel = 0,
Size = UDim2.new(0, 75, 1, 0),
ZIndex = mainHolder.ZIndex+2,
})
local reverse =
(keybindHolder.AbsolutePosition.X+keybindHolder.AbsoluteSize.X+offset >= edgeX or
keybindHolder.AbsolutePosition.X+keybindHolder.AbsoluteSize.X+offset+sizex >=
edgeX)
local key
local function setkey(newkey)
local keyName = keys[newkey] or tostring(newkey):match("Enum%.%a+%.
(%a+)") or newkey
window.flags[flag]['Key'] = keyName
end
setkey('NONE')
local defaultKey = options.key
if defaultKey then
if typeof(defaultKey) == 'EnumItem' then
setkey(defaultKey)
else
setkey(Enum.KeyCode[defaultKey] or
Enum.UserInputType.MouseButton1)
end
end
Update = function()
local val = window.flags[flag]
if val.Type == 1 then
Tween(button1,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(255,255,255)})
Tween(button2,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(125,125,125)})
else
Tween(button1,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(125,125,125)})
Tween(button2,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(255,255,255)})
end
callback(val)
end
Update()
local bindingSignal
btn.MouseButton1Click:Connect(function()
window.flags[flag].Binding = true
setkey('...')
bindingSignal = uis.InputBegan:Connect(function(input,a)
--if a then return end
if input.KeyCode == Enum.KeyCode.Backspace then
setkey('NONE')
elseif input.KeyCode == Enum.KeyCode.Unknown then
setkey(input.UserInputType)
else
setkey(input.KeyCode)
end
window.flags[flag].Binding = false
bindingSignal:Disconnect()
Update()
end)
end)
Connections[math.random()] = uis.InputBegan:Connect(function(input,a)
--if a then return end
if key == input.KeyCode or key == input.UserInputType then
if window.flags[flag].Type == 1 then
window.flags[flag].Active = not window.flags[flag].Active
else
window.flags[flag].Active = true
end
Update()
end
end)
Connections[math.random()] = uis.InputEnded:Connect(function(input,a)
--if a then return end
if key == input.KeyCode or key == input.UserInputType then
if window.flags[flag].Type == 2 then
window.flags[flag].Active = false
Update()
end
end
end)
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
-----------------------------------------------------------------------------
-------------------------------
tab.CanvasSize = UDim2.new(0, 0, 0,
math.max(leftList.AbsoluteContentSize.Y, rightList.AbsoluteContentSize.Y) +
tab.Parent.UIPadding.PaddingTop.Offset + tab.Parent.UIPadding.PaddingBottom.Offset)
end
rightList:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(handleCanvas)
leftList:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(handleCanvas)
local SectionsHandler = {}
function SectionsHandler:Sector(options)
local options = formatTable(options)
local row = options.side == 1 and rightRow or leftRow
local section = create('Frame',{
Parent = row,
ZIndex = 2,
BackgroundColor3 = Color3.fromRGB(30,30,30),
BackgroundTransparency = 0.5,
Size = UDim2.new(),
Name = 'Sector'
})
SetupFrame(section,{
list = {pad = UDim.new(0,12),direction =
'Vertical',horizontalalignment = 'Left',verticalalignment = 'Top'},
corner = {radius = UDim.new(0,4)},
pad = {Bottom = UDim.new(0,16),top = UDim.new(0,16),right =
UDim.new(0,16),left = UDim.new(0,16)},
stroke = {}
})
local list = section.UIListLayout
list:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(function(newval)
local contentSize = list.AbsoluteContentSize.Y + 32
section.Size = UDim2.new(1,0,0,contentSize)
handleCanvas()
end)
return setmetatable(
{
_holder = section,
_window = window,
_side = options.side,
_tabSector = tab,
_sector = section,
_holderSize = UDim2.new(0,100,1,0),
_holderPosition = UDim2.new(0,80,0,0)
},
{__index = function(a,b) return Segment[b] or Elements[b] end}
)
end
return SectionsHandler
end
local Tabs = {}
Tabs.__index = Tabs
function Tabs.normal(tabholder,window)
local tab = create('ScrollingFrame',{
Parent = tabholder,
Name = 'Sector',
LayoutOrder = #window._tabs+1,
Size = UDim2.new(1, 0, 1, 0),
BackgroundTransparency = 1,
BorderSizePixel = 0,
BottomImage = "",
CanvasSize = UDim2.new(0, 0, 1, 0),
ScrollBarImageColor3 = Color3.fromRGB(50, 50, 50),
ScrollBarThickness = 1,
TopImage = "",
Active = true,
ZIndex = 3,
Visible = false
})
return tab,SetupSector(window,tab)
end
local skins = {}
skins.__index = skins
function skins.new(options,window,tab)
local options = formatTable(options)
tab.Visible = false
local background = create('Frame',{
Parent = tab,
Name = 'Background',
BackgroundColor3 = Color3.fromRGB(20, 20, 20),
BackgroundTransparency = 0.500,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
ZIndex = 2,
})
SetupFrame(background,{
corner = {radius = UDim.new(0,4)},stroke = {}
})
local addframe = create('Frame',{
Parent = tab,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
ZIndex = 2,
Visible = false,
})
local content = create('ScrollingFrame',{
Name = 'Content',
Parent = tab,
Active = true,
BackgroundColor3 = Color3.fromRGB(20, 20, 20),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
Visible = true,
ZIndex = 2,
BottomImage = "",
CanvasSize = UDim2.new(0, 0, 0, 0),
ScrollBarThickness = 1,
TopImage = "",
})
self._ChoicesHolder = content
do
create('UIGridLayout',{
Parent = content,
CellPadding = UDim2.new(0,4,0,4),
CellSize = UDim2.new(0,80,0,85),
FillDirection = 'Horizontal',
SortOrder = 'LayoutOrder'
})
SetupFrame(content,{pad = {top = UDim.new(0,14),bottom =
UDim.new(0,14),left = UDim.new(0,12),right = UDim.new(0,11)}})
end
do
local options = create('ScrollingFrame',{
Name = 'Options',
Parent = addframe,
Active = true,
BackgroundColor3 = Color3.fromRGB(50, 50, 50),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0, 30),
Size = UDim2.new(1, -5, 1, -30),
ZIndex = 3,
CanvasSize = UDim2.new(0, 0, 0, 0),
ScrollBarThickness = 1,
})
SetupFrame(options,{list = {pad = UDim.new(0,5),horizontalalignment =
'Left',direction = 'Vertical',SortOrder = 'Name',Verticalalignment = 'Top'},pad =
{bottom = UDim.new(0,10),top = UDim.new(0,10),right = UDim.new(0,15),left =
UDim.new(0,15)}})
self._OptionsHolder = options
local menu = create('Frame',{
Parent = addframe,
Name = 'Menu',
BackgroundColor3 = Color3.fromRGB(30, 30, 30),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 30),
ZIndex = 3,
})
SetupFrame(menu,{
corner = {radius = UDim.new(0,4)},
list = {pad = UDim.new(0,6),direction = 'Horizontal',order =
'LayoutOrder',HorizontalAlignment = 'Left',verticalalignment = 'Top'},
pad = {top = UDim.new(0,5),bottom = UDim.new(0,5),left =
UDim.new(0,5),right = UDim.new(0,5)},
stroke = {}
})
create('TextButton',{
Parent = back,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0, 1),
Size = UDim2.new(1, 0, 1, 0),
ZIndex = 4,
Font = Enum.Font.GothamMedium,
Text = "Back",
TextColor3 = Color3.fromRGB(255, 255, 255),
TextSize = 14.000,
}).MouseButton1Down:Connect(function()
content.Visible = true
addframe.Visible = false
end)
create('TextButton',{
Parent = add,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0, 3),
TextScaled = true,
TextWrapped = true,
Size = UDim2.new(1, 0, 1, -5),
ZIndex = 4,
Font = Enum.Font.GothamMedium,
Text = "Add Selected (0)",
TextColor3 = Color3.fromRGB(125, 125, 125),
TextSize = 14.000,
}).MouseButton1Down:Connect(function()
return self:_HandleChoices()
end)
local searchbox = create('TextBox',{
Parent = search,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 5, 0, 3),
Size = UDim2.new(1, -5, 1, -5),
TextScaled = true,
ZIndex = 5,
Font = Enum.Font.GothamMedium,
Text = "Search",
TextColor3 = Color3.fromRGB(125, 125, 125),
TextSize = 14.000,
TextXAlignment = Enum.TextXAlignment.Left,
})
local isEmpty = true
local ignore = false
searchbox.Focused:Connect(function()
searchbox.TextColor3 = Color3.fromRGB(255, 255, 255)
if isEmpty then
searchbox.Text = ''
end
end)
searchbox.FocusLost:Connect(function()
searchbox.ClearTextOnFocus = searchbox.Text == ''
isEmpty = searchbox.Text == ''
if searchbox.Text == '' then
searchbox.TextColor3 = Color3.fromRGB(125,125,125)
ignore = true
searchbox.Text = 'Search'
end
end)
searchbox:GetPropertyChangedSignal('Text'):Connect(function()
if ignore then
ignore = false
isEmpty = true
else
isEmpty = searchbox.Text == ''
end
for i,v in pairs(options:GetChildren()) do
if not v:IsA('Frame') then continue end
window.flags[self._flag].options[suffix] =
window.flags[self._flag].options[suffix] or {}
local data = {image = option.image or '',name = option.name or ''}
table.insert(window.flags[self._flag].options[suffix],data)
local id = #window.flags[self._flag].options[suffix]
local btn = create('TextButton',{
Name = 'Button',
Parent = button,
BackgroundColor3 = Color3.fromRGB(200, 200, 200),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
ZIndex = 4,
Font = Enum.Font.GothamMedium,
Text = "ADD",
TextColor3 = Color3.fromRGB(200, 200, 200),
TextSize = 14.000,
})
btn.MouseButton1Down:Connect(function()
if window.flags[flag].choices[suffix] and
window.flags[flag].choices[suffix].name == data.name then return end
if self._CurrentChoices[suffix] then
self._CurrentChoices[suffix] = nil
self:_SetSelection(self:_GetSelection()-1)
Tween(btn,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(200,200,200)})
else
self._CurrentChoices[suffix] = data
self:_SetSelection(self:_GetSelection()+1)
Tween(btn,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(125,125,125)})
end
self:FilterOptions()
end)
btn.MouseEnter:Connect(function()
if self._CurrentChoices[suffix] ~= data and (not
window.flags[flag].choices[suffix] or window.flags[flag].choices[suffix].name ~=
data.name) then
Tween(btn,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(255,255,255)})
end
end)
btn.MouseLeave:Connect(function()
if self._CurrentChoices[suffix] ~= data and (not
window.flags[flag].choices[suffix] or window.flags[flag].choices[suffix].name ~=
data.name) then
Tween(btn,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(200,200,200)})
end
end)
end
function skins:AddChoice(suffix,data)
if self._window.flags[self._flag].choices[suffix] then return end
local holder = self._ChoicesHolder
local option = formatTable(data)
local frame = create('Frame',{
Parent = holder,
LayoutOrder = #holder:GetChildren()-1,
Name = 'Choice',
BackgroundColor3 = Color3.fromRGB(30, 30, 30),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(0, 100, 0, 100),
ZIndex = 3,
})
SetupFrame(frame,{corner = {radius = UDim.new(0,4)},pad = {Bottom =
UDim.new(0,3),top = UDim.new(0,3),right = UDim.new(0,3),left =
UDim.new(0,3)},stroke = {}})
local button = create('ImageButton',{
Parent = frame,
BackgroundColor3 = Color3.fromRGB(200, 200, 200),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
ZIndex = 4,
Image = option.image or ''
})
button.MouseButton1Down:Connect(function()
self._window.flags[self._flag].choices[suffix] = nil
frame:Destroy()
self:FilterOptions()
end)
self._window.flags[self._flag].choices[suffix] = option
end
function skins:AddChoices(options)
for i,v in pairs(options) do
for _,v2 in pairs(v) do
self:AddChoice(i,v2)
end
end
end
function skins:AddOptions(options)
for i,v in pairs(options) do
for _,v2 in pairs(v) do
self:AddOption(i,v2)
end
end
end
function skins:_HandleChoices()
for i,v in pairs(self._CurrentChoices) do
self:AddChoice(i,v)
end
table.clear(self._CurrentChoices)
self:FilterOptions()
self:_SetSelection(0)
end
function skins:_SetSelection(n)
local text = "Add Selection ("..n..')'
self._OptionsHolder.Parent.Menu.Add.TextButton.Text = text
Tween(self._OptionsHolder.Parent.Menu.Add.TextButton,0.2,'Quad','Out',
{TextColor3 = tonumber(n) == 0 and Color3.fromRGB(125,125,125) or
Color3.fromRGB(255,255,255)})
end
function skins:_GetSelection()
return self._OptionsHolder.Parent.Menu.Add.TextButton.Text:match("%d+")
end
function skins:FilterOptions()
for i,v in pairs(self._OptionsHolder:GetChildren()) do
if not v:IsA('Frame') then continue end
local data = v.Name:split(' | ')
local value = self._CurrentChoices[data[1]]
local value2 = self._window.flags[self._flag].choices[data[1]]
if (value and value.name ~= data[2]) or (value2 and value2.name ~=
data[2]) then
v.Visible = false
Tween(v.Button.Button,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(200,200,200)})
else
if not (value or value2) then
Tween(v.Button.Button,0.2,'Quad','Out',{TextColor3 =
Color3.fromRGB(200,200,200)})
end
v.Visible = true
end
end
end
return tabholder,skins.new(options,window,tabholder)
end
local Notify = {}
Notify.__index = Notify
function Notify.new(options,notifsholder)
local options = typeof(options) == 'table' and formatTable(options) or
{text=tostring(options)}
local holder = create('Frame',{
Parent = notifsholder,
Name = 'Holder',
BackgroundColor3 = Color3.fromRGB(30, 30, 30),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(50, 0, 0, 20),
ZIndex = 3,
ClipsDescendants = true,
})
SetupFrame(holder,{corner = {radius = UDim.new(0,4)},stroke = {}})
holder.Size = UDim2.new(0,text.TextBounds.X+15,0,25)
Tween(self._holder,0.6,'Quad','Out',{Size =
UDim2.new(0,size.X,0,size.Y)})
wait(self._options.time)
signals.OnAnimation:Fire()
Tween(self._holder,0.2,'Quad','Out',{BackgroundTransparency =
1,Position = UDim2.new(-1,0,0,0)})
Tween(self._holder.Color,0.2,'Quad','Out',{BackgroundTransparency = 1})
Tween(self._holder.Stroke,0.2,'Quad','Out',{Transparency = 1})
Tween(self._holder.Color2,0.2,'Quad','Out',{BackgroundTransparency =
1})
local t = Tween(self._holder.Text,0.2,'Quad','Out',{TextTransparency =
1})
t.Completed:Wait()
signals.OnFinish:Fire()
self._holder:Destroy()
end)()
return signals
end
function Notify:normal()
return self:_Animate()
end
function Notify:warning()
local shouldbreak = false
local grad,grad2 = self._holder.Color,self._holder.Color2
coroutine.wrap(function()
local a = 0
while not shouldbreak do
Tween(grad,0.25,'Linear','In',{BackgroundColor3 = Color3.new() or
self._options.color})
local t = Tween(grad2,0.25,'Linear','In',{BackgroundColor3 =
Color3.new() or self._options.color})
t.Completed:Wait()
a+=1
end
end)()
local t = Tween(bar,0.6,'Linear','Out',{Position =
UDim2.new(0.5,a%2 == 0 and x or -x,1,-1),Size = UDim2.new(0,a%2 == 0 and -sizex or
sizex,0,1)})
t.Completed:Wait()
local t = Tween(bar,0.6,'Quad','Out',{Position = a%2==0 and
UDim2.new(1,-2,1,-1) or UDim2.new(0,2,1,-1),Size = UDim2.new(0,1,0,1)})
t.Completed:Wait()
a+=1
task.wait(.15)
end
end)()
mt:Edit(options or {})
return mt
end
function Watermark:Edit(options) -- background, textcolor, richtext
local options = formatTable(options)
if options.text then
self._watermark.Text.Text = tostring(options.text)
end
end
function ui:Init(options)
local options = formatTable(options)
function ui:Unload()
for _, connection in next, Connections do
connection:Disconnect()
end
UIsHolder:Destroy()
end
function ui:SetToggled(bool)
UIsHolder.Enabled = bool
end
function ui:Toggle()
self:SetToggled(not UIsHolder.Enabled)
end
function ui:Watermark(options)
local options = formatTable(options)
return Watermark.new(watermark,options)
end
do
--super duper cool uilistlayout
local notifs = create("ScreenGui",{
Parent = UIsHolder.Parent,
Name = 'Notifications'
})
local notifsholder = create('Frame',{
Name = 'NotificationsHolder',
Parent = notifs,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 50, 0, 50),
Size = UDim2.new(0, 34, 50, 0),
ZIndex = 2,
})
local childs = {}
local offsets = {}
notifsholder.ChildAdded:Connect(function(child)
if child.Name == 'Holder' then
local y = #childs*30 -- was meant to have
getpropchangedsignal but lazy to change allat
child.Position = UDim2.new(0,child.AbsolutePosition.X,0,y)
table.insert(childs,child)
offsets[child] = y
end
end)
notifsholder.ChildRemoved:Connect(function(child)
if child.Name == 'Holder' then
local t = table.find(childs,child)
local curY = offsets[child]
for i=t+1,#childs do
local child = childs[i]
SetupFrame(loaderFrame, {
corner = {radius = UDim.new(1, 0)},
pad = {bottom = UDim.new(0, 16),top = UDim.new(0, 16),left =
UDim.new(0, 16),right = UDim.new(0, 16)}
})
task.spawn(function()
while task.wait() do
if tick() - startTick >= (span - 2) then
task.spawn(function()
Tween(circle, 0.1, 'Quad', 'In',
{ImageTransparency = 1})
task.wait(.1)
circle.Rotation = 0
circle.Image = 'rbxassetid://1202200114'
Tween(circle, 0.1, 'Quad', 'In',
{ImageTransparency = 0})
task.wait(1)
Tween(loaderFrame, 0.2, 'Quad', 'In',
{BackgroundTransparency = 1})
Tween(circle, 0.2, 'Quad', 'In',
{ImageTransparency = 1})
task.wait(.9)
loaderFrame:Destroy()
end)
break
end
SetupFrame(windowFrame,{
corner = {radius = UDim.new(0,8)},
stroke = {Color = Color3.fromRGB(40,40,40)}
})
local sideBar = create('Frame',{
Parent = windowFrame,
Name = 'Sidebar',
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BackgroundTransparency = 1.000,
Size = UDim2.new(0.270000011, 0, 1, 0),
BorderSizePixel = 0,
})
Dragify(windowFrame,sideBar)
local window = {
_tabs = {},
_undefinedFlags = 0,
_FlagsSet = {},
_DefaultFlags = {},
flags = {},
}
window['Flags'] = window.flags
function window:SaveConfig(name)
local cfg = {}
for i,v in pairs(window.flags) do
local val = v
if typeof(v) == 'table' and v.Color and typeof(v.Color) ==
'Color3' then
val = {Color = {R =
v.Color.R,G=v.Color.G,B=v.Color.B},Alpha = v.Alpha}
end
cfg[i] = val
end
return hs:JSONEncode(cfg)
end
function window:LoadConfig(input)
local load = hs:JSONDecode(input)
for flag,val in pairs(load) do
if typeof(val) == 'table' and typeof(val.Color) == 'table'
then
val.Color =
Color3.new(val.Color.R,val.Color.G,val.Color.B)
end
if window._FlagsSet[flag] then
window._FlagsSet[flag](val)
end
end
end
do -- content setup
local content = create('Frame',{
Name = 'Content',
Parent = sideBar,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
})
create('UIPadding',{
Parent = content,
PaddingBottom = UDim.new(0, 16),
PaddingLeft = UDim.new(0, 16),
PaddingRight = UDim.new(0, 16),
PaddingTop = UDim.new(0, 16),
})
---------------------------------------------------------
local windowsInfo = create('Frame',{
Parent = content,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0.150000006, -16),
})
create('UIListLayout',{
Parent = windowsInfo,
Padding = UDim.new(0,4),
HorizontalAlignment = Enum.HorizontalAlignment.Center,
VerticalAlignment = Enum.VerticalAlignment.Center,
})
create('TextLabel',{
Name = 'a_name',
Parent = windowsInfo,
BackgroundTransparency = 1,
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 18),
Font = Enum.Font.GothamBlack,
Text = windowName,
RichText = true,
TextColor3 = Color3.fromRGB(255, 255, 255),
TextSize = 14.000,
TextXAlignment = Enum.TextXAlignment.Left,
TextYAlignment = Enum.TextYAlignment.Bottom,
})
create('TextLabel',{
Name = 'b_Description',
Parent = windowsInfo,
BackgroundTransparency = 1,
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 18),
Font = Enum.Font.Gotham,
Text = windowDescription,
RichText = true,
TextColor3 = Color3.fromRGB(108, 108, 108),
TextSize = 14.000,
TextStrokeColor3 = Color3.fromRGB(92, 92, 92),
TextXAlignment = Enum.TextXAlignment.Left,
TextYAlignment = Enum.TextYAlignment.Top,
})
------------------------------------------------------------
local userInfo = create('Frame',{
Name = 'UserInfo',
Parent = content,
BackgroundTransparency = 1,
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0.9, 0),
Size = UDim2.new(1, 0, 0.1, 0),
})
SetupFrame(userInfo,{list = {pad = UDim.new(0,16),sort =
'LayoutOrder',direction = 'Horizontal',horizontalalignment = 'Left'}})
if icon then
SetupFrame(create('ImageLabel',{
Name = 'Img',
Parent = userInfo,
BackgroundTransparency = 1,
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0.5, -12),
Size = UDim2.new(0, 24, 0, 24),
Image = icon,
}),{corner = {radius = UDim.new(1,0),stroke = {}}})
end
--------------------------------------------------------------
local tabs = create('ScrollingFrame',{
Name = 'Tabs',
Parent = content,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0.150000006, 0),
Selectable = false,
Size = UDim2.new(1, 0, 0.75, -24),
BottomImage = "",
CanvasSize = UDim2.new(0, 0, 0, 145),
ScrollBarImageColor3 = Color3.fromRGB(50, 50, 50),
ScrollBarThickness = 1,
TopImage = "",
})
local _, _, list, pad = SetupFrame(tabs,{
list = {pad = UDim.new(0,8),VerticalAlignment = 'Top'},
Pad = {left = UDim.new(0,1),top = UDim.new(0,1), right =
UDim.new(0, 8)}
})
list:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(function()
task.wait()
local abs = list.AbsoluteContentSize
tabs.CanvasSize = UDim2.new(0, abs.X, 0, abs.Y)
end)
-----------------------------------------------------------
-----------------------
local section = create('Frame',{
Name = ('1'):rep(#tabs:GetChildren()-1),
Parent = tabs,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, -1, 0, 32),
ZIndex = 2,
})
if icon then
create('ImageLabel',{
Name = 'a_icon',
Parent = tab_a,
BackgroundColor3 = Color3.fromRGB(255, 255,
255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(0, 16, 1, 0),
ZIndex = 4,
Image = icon,
ScaleType = Enum.ScaleType.Fit,
})
end
create('TextLabel',{
Name = 'b_text',
Parent = tab_a,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1.000,
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Size = UDim2.new(1, icon and -28 or 0, 1, 0),
ZIndex = 4,
Font = Enum.Font.GothamMedium,
Text = options.name or '[NO NAME]',
TextColor3 = Color3.fromRGB(255, 255, 255),
TextSize = 14,
TextWrapped = true,
TextXAlignment = Enum.TextXAlignment.Left,
})
-----------------------------------------------------------
-----------------------
local tabHolder = create('Frame',{
Parent = windowFrame,
Name = 'SectorHolder_'..(#window._tabs+1),
Size = UDim2.new(0.73, 0,1, 0),
Position = UDim2.new(0.27,0,0,0),
BackgroundTransparency = 1,
BorderSizePixel = 0,
})
SetupFrame(tabHolder, {
pad = {bottom = UDim.new(0,14),top =
UDim.new(0,14),right = UDim.new(0,14),left = UDim.new(0,14)}
})
local tab,funcs = Tabs[type](tabHolder,window,options)
_clickHandler.MouseButton1Down:Connect(function()
if window._CurrentTab[1] ~= section then
task.spawn(function()
_tween(window._CurrentTab[1].Tab, false)
window._CurrentTab[2].Visible = false
window._CurrentTab[2].ZIndex -= 1
window._CurrentTab = {section,tab}
tab.ZIndex += 1
_tween(section.Tab, true)
end)
tab.Visible = true
end
end)
if not window._CurrentTab then
window._CurrentTab = {section,tab}
_tween(window._CurrentTab[1].Tab, true)
tab.Visible = true
tab.ZIndex += 1
end
table.insert(window._tabs,tab)
return funcs
end
function window:Separator()
create('Frame',{
Name = 'Separator',
Parent = create('Frame',{
Name = ('1'):rep(#tabs:GetChildren()-1),
Parent = tabs,
BackgroundTransparency = 1,
Size = UDim2.new(1, -1, 0, 32),
ZIndex = 2,
}),
BackgroundColor3 = Color3.fromRGB(40, 40, 40),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(0, 0, 0.5, 0),
Size = UDim2.new(1, 0, 0, 1),
})
end
end
create('Frame',{
Name = "Separator",
Parent = sideBar,
BackgroundColor3 = Color3.fromRGB(40, 40, 40),
BorderColor3 = Color3.fromRGB(0, 0, 0),
BorderSizePixel = 0,
Position = UDim2.new(1, 0, 0, 0),
Size = UDim2.new(0, 1, 1, 0),
})
return window
end
end
-- UI END
ui:Init()
--
ui:SetupLoader({time = 2})
--
Wait(2)
--
local Window = ui:NewWindow{window = {Name = [[<b>osiris.<font color="rgb(220, 20,
60)">cool</font></b>]], Description =
game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name}, User =
{Name = LocalPlayer.Name,Role = 'Buyer Build'}}
local flags = Window.flags
-- Functions , Renders
local Backtrack = Instance.new("Folder")
Backtrack.Parent = Workspace.Terrain
Backtrack.Name = "Backtrack"
--
local NovaPart = game:GetObjects("rbxassetid://14745759584")[1]; NovaPart.Parent =
game:GetService("ReplicatedStorage");
local Nova = NovaPart.Attachment
--
local HitChams = Instance.new("Folder")
HitChams.Parent = Workspace.Terrain
HitChams.Name = "HitChams"
--
local VisualizeCFrame = game:GetObjects("rbxassetid://8246626421")[1];
VisualizeCFrame.Humanoid:Destroy(); VisualizeCFrame.Head.Face:Destroy();
VisualizeCFrame.Parent = game.Workspace; VisualizeCFrame.HumanoidRootPart.Velocity
= Vector3.new(); VisualizeCFrame.HumanoidRootPart.CFrame =
CFrame.new(9999,9999,9999); VisualizeCFrame.HumanoidRootPart.Transparency = 1;
VisualizeCFrame.HumanoidRootPart.CanCollide = false; local hitmodule =
game:GetObjects("rbxassetid://7255773215")[1]; hitmodule.Parent =
game:GetService("ReplicatedStorage")
--
for i,v in pairs(VisualizeCFrame:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = false
v.Material = Enum.Material.Neon
v.Transparency= 0.99
end
end
--
local Chams = {}
do
function Lynx:Cham_Character(Player, Color1, Color2, Fill1, Fill2)
local Highlight = NewInstance("Highlight", Highlights)
Highlight.Adornee = Player.Character
Highlight.Enabled = true
Highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
Highlight.FillColor = Color1
Highlight.OutlineColor = Color2
Highlight.OutlineTransparency = Fill1
Highlight.FillTransparency = Fill2
--
Chams[Player] = Highlight
--
Player.CharacterAdded:Connect(function(Character)
Highlight.Adornee = Character
Highlight.Parent = game.CoreGui
end)
end
function Lynx:Cham_Remove(Player)
if Player and Chams[Player] then
Chams[Player]:Destroy()
Chams[Player].Parent = nil
Chams[Player].Adornee = nil
end
end
--
function Lynx:PlayerDraw(Type, Outline, Name, Filled)
local drawing = Drawing.new(Type)
for i, v in pairs(Visuals["Settings"][Type]) do
drawing[i] = v
end
--
if Outline then
drawing.Color = Color3.new(0,0,0)
drawing.Thickness = 3
end
--
if Filled then
drawing.Filled = true
end
--
return drawing
end
--
function Lynx:Add(Player)
if not Visuals["Drawings"][Player] then
Visuals["Drawings"][Player] = {
Name = Lynx:PlayerDraw("Text", nil, "Name", false),
Tool = Lynx:PlayerDraw("Text", nil, "Tool", false),
BoxOutline = Lynx:PlayerDraw("Square", true, "BoxOutline",
false),
Box = Lynx:PlayerDraw("Square", nil, "Box",false),
HealthOutline = Lynx:PlayerDraw("Square", false,
"HealthOutline", false),
Health = Lynx:PlayerDraw("Square", nil, "Health", false),
HealthText = Lynx:PlayerDraw("Text",nil, "HealthText",
false),
HealthBarGradient = Lynx:PlayerDraw("Image", nil,
"HealthBarGradient", false),
BoxFill = Lynx:PlayerDraw("Square", nil, "BoxFill", true),
ArmorBar = Lynx:PlayerDraw("Line", nil, "ArmorBar", false),
ArrowOutline = Lynx:PlayerDraw("Triangle", false,
"ArrowOutline", false),
Arrow = Lynx:PlayerDraw("Triangle", nil, "Arrow", false),
Flag = Lynx:PlayerDraw("Text",nil, "Flag", false)
}
--
Visuals["Drawings"][Player]["Corners"] = {}
--
for Index = 9, 16 do
Visuals["Drawings"][Player]["Corners"][Index] =
Lynx:PlayerDraw("Line", nil, "Corners", false)
Visuals["Drawings"][Player]["Corners"][Index].Thickness = 3
end
--
for Index = 1, 8 do
Visuals["Drawings"][Player]["Corners"][Index] =
Lynx:PlayerDraw("Line", nil, "Corners", false)
Visuals["Drawings"][Player]["Corners"][Index].Thickness = 0
end
end
end
--
function HitMarker(Gap, Color, Time)
local Lines = {}
--
for i = 1, 4 do
Lines[i] = Lynx:newDrawing("Line", {Color = Color, Visible =
true, Transparency = 1, Thickness = 1})
end
--
Lines[1].From = Vector2.new(Mouse.X + Gap, (Mouse.Y + 36) + Gap)
Lines[1].To = Vector2.new(Mouse.X + (Gap * 2.5), (Mouse.Y + 36) + (Gap
* 2.5))
--
Lines[2].From = Vector2.new(Mouse.X + Gap, (Mouse.Y + 36) - Gap)
Lines[2].To = Vector2.new(Mouse.X + (Gap * 2.5), (Mouse.Y + 36) - (Gap
* 2.5))
--
Lines[3].From = Vector2.new(Mouse.X - Gap, (Mouse.Y + 36) + Gap)
Lines[3].To = Vector2.new(Mouse.X - (Gap * 2.5), (Mouse.Y + 36) + (Gap
* 2.5))
--
Lines[4].From = Vector2.new(Mouse.X - Gap, (Mouse.Y + 36) - Gap)
Lines[4].To = Vector2.new(Mouse.X - (Gap * 2.5), (Mouse.Y + 36) - (Gap
* 2.5))
--
delay(Time, function()
for i = Time, 0, -0.1 do
task.wait()
for _, Value in next, Lines do
Value.Transparency = i
end
end
--
for _, Value in next, Lines do
Value:Remove()
end
end)
end
--
function HitMarker3D(Gap, Color, Time, Hit)
local Lines = {}
--
for i = 1, 4 do
Lines[i] = Lynx:newDrawing("Line", {Color = Color, Visible =
true, Transparency = 1, Thickness = 1})
end
--
local Loop = RunService.RenderStepped:Connect(function()
local Position3D, OnScreen = Camera:WorldToViewportPoint(Hit)
--
Lines[1].From = Vector2.new(Position3D.X + Gap, Position3D.Y +
Gap)
Lines[1].To = Vector2.new(Position3D.X + (Gap * 2.5),
Position3D.Y + (Gap * 2.5))
--
Lines[2].From = Vector2.new(Position3D.X + Gap, Position3D.Y -
Gap)
Lines[2].To = Vector2.new(Position3D.X + (Gap * 2.5),
Position3D.Y - (Gap * 2.5))
--
Lines[3].From = Vector2.new(Position3D.X - Gap, Position3D.Y +
Gap)
Lines[3].To = Vector2.new(Position3D.X - (Gap * 2.5),
Position3D.Y + (Gap * 2.5))
--
Lines[4].From = Vector2.new(Position3D.X - Gap, Position3D.Y -
Gap)
Lines[4].To = Vector2.new(Position3D.X - (Gap * 2.5),
Position3D.Y - (Gap * 2.5))
--
for _, Value in next, Lines do
Value.Visible = OnScreen
end
end)
--
delay(Time, function()
for i = Time, 0, -0.1 do
task.wait()
for _, Value in next, Lines do
Value.Transparency = i
end
end
--
for _, Value in next, Lines do
Value:Remove()
end
Loop:Disconnect()
end)
end
--
function Lynx:HitEffect(Type, Character)
local function convert(color)
return color.r/5, color.g/5, color.b/5
end
--
local function Weld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
local CJ = CFrame.new(x.Position)
local C0 = x.CFrame:inverse()*CJ
local C1 = y.CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = x
end
--
if Type == "Confetti" then
task.spawn(function()
local Confetti_Amount = 20000
local RootPart = Character.HumanoidRootPart
local ConfettiClone = hitmodule:Clone()
ConfettiClone.RainbowParticles.Rate = Confetti_Amount
ConfettiClone.Parent = workspace
ConfettiClone.CanCollide = false
ConfettiClone.CFrame = RootPart.CFrame
--
for i = Confetti_Amount, 0 , -(Confetti_Amount/50) do
task.wait()
ConfettiClone.RainbowParticles.Rate = i
end
--
delay(5, function()
ConfettiClone:Destroy()
end)
end)
else
local Effect = Nova:Clone()
Effect.Parent = Character.HumanoidRootPart
--
for i,v in pairs(Effect:GetChildren()) do
v.Rate = 0
v.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,
Color3.new(0, 0, 0)), ColorSequenceKeypoint.new(0.5, Color3.new(convert(flags["Hit
Effects Color"].Color))),ColorSequenceKeypoint.new(1, Color3.new(0, 0, 0)),})
v:Emit()
end
--
delay(2, function()
Effect:Destroy()
end)
end
end
--
Lynx:HitEffect("Confetti", LocalPlayer.Character)
--
function Lynx:ThreadFunction(Func, Name, ...)
local Func = Name and function()
local Passed, Statement = pcall(Func)
--
if not Passed and not Lynx.Safe then
warn("Lynx:\n", " " .. Name .. ":", Statement)
end
end or Func
local Thread = Create(Func)
--
Resume(Thread, ...)
return Thread
end
--
function Lynx:RayCast(Part, Origin, Ignore, Distance)
local IgnoreList = Ignore
local Distance = Distance or 5000
--
local Cast = Ray.new(Origin, (Part.Position - Origin).Unit * Distance)
local Hit = Workspace:FindPartOnRayWithIgnoreList(Cast, IgnoreList)
--
return (Hit and Hit:IsDescendantOf(Part.Parent)) == true, Hit
end
--
function Lynx:KnockCheck(Player)
if Player.Character then
if Player.Character.BodyEffects ~= nil then
if Player.Character.BodyEffects["K.O"].Value == true then
return false
end
end
end
return true
end
--
function Lynx:newDrawing(type, prop)
local obj = Drawing.new(type)
--
if prop then
for i,v in next, prop do
obj[i] = v
end
end
return obj
end
--
function Lynx:GetPlayerStatus(Player)
if not Player then Player = LocalPlayer end
return Player.Character and Player.Character:FindFirstChild("Humanoid")
and Player.Character:FindFirstChild("HumanoidRootPart") and
Player.Character.Humanoid.Health > 0 and true or false
end
--
function Lynx:CreateBeam(Origin, End, Color1, Color2, Texture)
local BeamPart = NewInstance("Part", workspace)
BeamPart.Name = "BeamPart"
BeamPart.Transparency = 1
--
local Part = NewInstance("Part", BeamPart)
Part.Size = NewVector3(1, 1, 1)
Part.Transparency = 1
Part.CanCollide = false
Part.CFrame = typeof(Origin) == "CFrame" and Origin or
CFrame.new(Origin)
Part.Anchored = true
local Attachment = NewInstance("Attachment", Part)
local Part2 = NewInstance("Part", BeamPart)
Part2.Size = NewVector3(1, 1, 1)
Part2.Transparency = 1
Part2.CanCollide = false
Part2.CFrame = typeof(End) == "CFrame" and End or CFrame.new(End)
Part2.Anchored = true
Part2.Color = Color3.fromRGB(255, 255, 255)
local Attachment2 = NewInstance("Attachment", Part2)
local Beam = NewInstance("Beam", Part)
Beam.FaceCamera = true
Beam.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0.00, Color1),
ColorSequenceKeypoint.new(1, Color2),
}
Beam.Attachment0 = Attachment
Beam.Attachment1 = Attachment2
Beam.LightEmission = 6
Beam.LightInfluence = 1
Beam.Width0 = 1
Beam.Width1 = 0.6
Beam.Texture = "rbxassetid://".. Texture ..""
Beam.LightEmission = 1
Beam.LightInfluence = 1
Beam.TextureMode = Enum.TextureMode.Wrap
Beam.TextureLength = 3
Beam.TextureSpeed = 3
delay(1, function()
for i = 0.5, 1, 0.02 do
wait()
Beam.Transparency = NumberSequence.new(i)
end
Part:Destroy()
Part2:Destroy()
BeamPart:Destroy()
end)
end
--
function Lynx:GetTool()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildWhichIsA("Tool") and Lynx:GetPlayerStatus()
then
return LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
end
end
--
function Lynx:Map(N, OldMin, OldMax, Min, Max)
return (N - OldMin) / (OldMax - OldMin) * (Max - Min) + Min
end
--
function Lynx:Rainbow(Speed)
return Color3.fromHSV(Abs(Sin(tick()) / (5 - Speed)),1,1)
end
--
function Lynx:CheckIfEven(Number)
if (Number % 2 == 0) then
return true
else
return false
end
end
--
function Lynx:Connection(Type, Callback)
local Connection = Type:Connect(Callback)
Lynx.Connections[#Lynx.Connections + 1] = Connection
--
return Connection
end
--
function Lynx:GetBodyParts(Character, RootPart, Indexes, Hitboxes)
local Parts = {}
local Hitboxes = Hitboxes or {"Head", "Torso", "Arms", "Legs"}
--
for Index, Part in pairs(Character:GetChildren()) do
if Part:IsA("BasePart") and Part ~= RootPart then
if Find(Hitboxes, "Head") and
Part.Name:lower():find("head") then
Parts[Indexes and Part.Name or #Parts + 1] = Part
elseif Find(Hitboxes, "Torso") and
Part.Name:lower():find("torso") then
Parts[Indexes and Part.Name or #Parts + 1] = Part
elseif Find(Hitboxes, "Arms") and
Part.Name:lower():find("arm") then
Parts[Indexes and Part.Name or #Parts + 1] = Part
elseif Find(Hitboxes, "Legs") and
Part.Name:lower():find("leg") then
Parts[Indexes and Part.Name or #Parts + 1] = Part
elseif (Find(Hitboxes, "Arms") and
Part.Name:lower():find("hand")) or (Find(Hitboxes, "Legs ") and
Part.Name:lower():find("foot")) then
Parts[Indexes and Part.Name or #Parts + 1] = Part
end
end
end
--
return Parts
end
--
function Lynx:GetClosestPlayer()
local shortestDistance = Huge
--
local closestPlayer
for _, Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer and Lynx:GetPlayerStatus(Player) then
local pos, OnScreen =
Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
local magnitude = (Vector2.new(pos.X, pos.Y) -
Vector2.new(Mouse.X, Mouse.Y)).magnitude
--
if magnitude < shortestDistance and OnScreen then
closestPlayer = Player
shortestDistance = magnitude
end
end
end
return closestPlayer
end
--
function Lynx:UpdateVisuals()
if flags["lighting_masterswitch"] then
if flags["lighting_ambient"] then
if Lighting.Ambient ~= flags["lighting_ambient1"] then
Lighting.Ambient = flags["lighting_ambient1"]
end
if Lighting.OutdoorAmbient ~= flags["lighting_ambient2"]
then
Lighting.OutdoorAmbient = flags["lighting_ambient2"]
end
end
--
if flags["lighting_ambientcolorshift"] then
if Lighting.ColorShift_Bottom ~=
flags["lighting_ambientcolorshift1"] then
Lighting.ColorShift_Bottom =
flags["lighting_ambientcolorshift1"]
end
if Lighting.ColorShift_Top ~=
flags["lighting_ambientcolorshift2"] then
Lighting.ColorShift_Top =
flags["lighting_ambientcolorshift2"]
end
end
--
if flags["lighting_fog"] then
if Lighting.FogColor ~= flags["lighting_fog1"] then
Lighting.FogColor = flags["lighting_fog1"]
end
if Lighting.FogEnd ~= flags["lighting_fog_end"] then
Lighting.FogEnd = flags["lighting_fog_end"]
end
if Lighting.FogStart ~= flags["lighting_fog_start"] then
Lighting.FogStart = flags["lighting_fog_start"]
end
end
--
if flags["lighting_clocktime"] then
if Lighting.ClockTime ~= flags["lighting_clocktime_slider"]
then
Lighting.ClockTime =
flags["lighting_clocktime_slider"]
end
end
--
if flags["lighting_brightness"] then
if Lighting.Brightness ~=
flags["lighting_brightness_slider"] then
Lighting.Brightness =
flags["lighting_brightness_slider"]
end
end
end
end
--
function Lynx:GetPlayerParent(Player)
return Player.Parent
end
--
function Lynx:AngleToEdge(angle, inset) -- pasted from the grenade indicators
lmao
local pos
local ox = Cos(angle)
local oy = Sin(angle)
local slope = oy / ox
--
local h_edge = viewportSize.x - inset
local v_edge = viewportSize.y - inset
if oy < 0 then
v_edge = inset
end
if ox < 0 then
h_edge = inset
end
local y = (slope * h_edge) + (viewportSize.y / 2) - slope *
(viewportSize.x / 2)
if y > 0 and y < viewportSize.y - inset then
pos = Vector2.new(h_edge, y)
else
pos = Vector2.new(
(v_edge - viewportSize.y / 2 + slope * (viewportSize.x /
2)) / slope,
v_edge
)
end
return pos
end
--
function Lynx:GetCharacter(Player)
return Player.Character
end
--
function Lynx:GetHumanoid(Player, Character)
return Character:FindFirstChildOfClass("Humanoid")
end
--
function Lynx:GetRootPart(Player, Character, Humanoid)
return Humanoid.RootPart
end
--
function Lynx:GetHealth(Player, Character, Humanoid)
if Humanoid then
return Clamp(Humanoid.Health, 0, Humanoid.MaxHealth),
Humanoid.MaxHealth
end
end
--
function Lynx:ValidateClient(Player)
local Object = Lynx:GetCharacter(Player)
local Humanoid = (Object and Lynx:GetHumanoid(Player, Object))
local RootPart = (Humanoid and Lynx:GetRootPart(Player, Object,
Humanoid))
--
return Object, Humanoid, RootPart
end
--
function Lynx:ClientAlive(Player, Character, Humanoid)
local Health, MaxHealth = Lynx:GetHealth(Player, Character, Humanoid)
--
return (Health > 0)
end
--
function Lynx:getRotate(Vec, Rads)
local vec = Vec.Unit
local sin = math.sin(Rads)
local cos = math.cos(Rads)
local x = (cos * vec.x) - (sin * vec.y)
local y = (sin * vec.x) + (cos * vec.y)
--
return Vector2.new(x, y).Unit * Vec.Magnitude
end
--
function Lynx:Unload()
for Index, Connection in next, Lynx.Connections do
Connection:Disconnect()
end
--
if ui then
ui:Unload()
end
--
end
--[[
function Lynx:Update_Configs()
all_cfgs = listfiles("Lynx\\")
for _,cfg in next, all_cfgs do
all_cfgs[_] = string.gsub(string.gsub(cfg, "Lynx\\", ""), ".txt",
"")
list:add_value(all_cfgs[_])
end
end
Lynx:Update_Configs()
--]]
function Lynx:ClampString(String, Length, Font)
local Font = (Font or 2)
local Split = String:split("\n")
--
local Clamped = ""
--
for Index, Value2 in pairs(Split) do
if (Index * 13) <= Length then
Clamped = Clamped .. Value2 .. (Index == #Split and "" or
"\n")
end
end
--
return (Clamped ~= String and (Clamped == "" and "" or Clamped:sub(0,
#Clamped - 1) .. " ...") or Clamped)
end
--
function Lynx:GetTeam(Player)
return Player.Team
end
--
function Lynx:CheckTeam(Player1, Player2)
return (Lynx:GetTeam(Player1) ~= Lynx:GetTeam(Player2))
end
--
function Lynx:GetClosestPart(Player, List)
local shortestDistance = Huge
local closestPart = nil
if Lynx:GetPlayerStatus(Player) then
for Index, Value in pairs(Player.Character:GetChildren()) do
if Value:IsA("BasePart") then
local pos =
Camera:WorldToViewportPoint(Value.Position)
local magnitude = (Vector2.new(pos.X, pos.Y) -
Vector2.new(Mouse.X, Mouse.Y + 36)).magnitude
if magnitude < shortestDistance and Find(List,
Value.Name) then
closestPart = Value
shortestDistance = magnitude
end
end
end
return closestPart
end
end
--
function Lynx:findNearestTargetInRadius(origin, radius)
local minDistance = radius
local nearestTarget = nil
--
for _, target in pairs(Players:GetPlayers()) do
if target ~= LocalPlayer and Lynx:GetPlayerStatus() and
Lynx:GetPlayerStatus(target) then
local Object, Humanoid, RootPart =
Lynx:ValidateClient(target)
if Object and Humanoid and RootPart then
local Check = true
--
if (Find(flags["Silent_Aim_Checks"], "Wall") and not
Lynx:RayCast(RootPart, Lynx:GetOrigin("Handle"), {Lynx:GetCharacter(LocalPlayer)}))
then Check = false end
if (Find(flags["Silent_Aim_Checks"], "ForceField")
and Object:FindFirstChildOfClass("ForceField")) then Check = false end
if (Find(flags["Silent_Aim_Checks"], "Knocked") and
not Lynx:KnockCheck(target)) then Check = false end
--
local distance =
(target.Character.HumanoidRootPart.Position - origin).Magnitude
if distance < minDistance and Check == true then
minDistance = distance
nearestTarget = target
end
end
end
end
--
return nearestTarget
end
--
function Lynx:movePlayerAlongPath(path, offset)
local waypoints = path:GetWaypoints()
--
for _, waypoint in pairs(waypoints) do
local waypointPosition = waypoint.Position + Vector3.new(0,
offset, 0)
player.Character.HumanoidRootPart.CFrame =
CFrame.new(waypointPosition)
task.wait()
end
end
--
function Lynx:RandomChance(Percentage)
local Chance = Percentage
--
if Random(1,100) <= Chance then
return true
else
return false
end
end
--
function Lynx:CloneCharacter(Player, Color, Material, Transparency, Parent,
Time)
Player.Character.Archivable = true
local Clone = Player.Character:Clone()
Clone.Parent = Parent
VisualizeCFrame:SetPrimaryPartCFrame(NewCFrame(999,999,999))
end
end
--
if utility.Desyncs.OldCFrame then
LocalPlayer.Character.HumanoidRootPart.CFrame =
utility.Desyncs.OldCFrame
end
end)}
--
CFrame_Desync:Dropdown{Name = 'Type', flag = 'CFrame Desync Preset',
options = {"Nothing", "Upside Down", "Floor Plant", "Random", "Void"}, min = 1, max
= 1}
--
CFrame_Desync:Slider{Name = "Random Range", flag = 'Random Teleport
Range', min = 0, max = 30, default = 12, float = 1}
end
--
local CFrame_Desync1 = Anti:Sector{Side = 1}
do
CFrame_Desync1:Title{Title = 'Visualize', Description = "Visualizes
Serverside Position"}
--
S = CFrame_Desync1:CreateSegment{Name = 'Enabled'}
--
S:Toggle{flag = "Visualize CFrame Desync", callback = function()
VisualizeCFrame:SetPrimaryPartCFrame(CFrame.new(999,999,999))
end}
--
S:Colorpicker{flag = "CFrame Visualizer Color", callback = function()
for _, Part in next, VisualizeCFrame:GetChildren() do
if Part.Name ~= "HumanoidRootPart" then
Part.Color = flags["CFrame Visualizer Color"].Color
Part.Transparency = flags["CFrame Visualizer
Color"].Alpha
end
end
end}
end
--
local CFrame_Desync2 = Anti:Sector{Side = 1}
do
CFrame_Desync2:Title{Title = 'Custom Offset', Description = "Customize
Your Position: XYZ"}
--
CFrame_Desync2:Slider{Name = "X", flag = 'XXX', min = -50, max = 50,
default = 0, float = 0.5}
--
CFrame_Desync2:Slider{Name = "Y", flag = 'YYY', min = -50, max = 50,
default = 0, float = 0.5}
--
CFrame_Desync2:Slider{Name = "Z", flag = 'ZZZ', min = -50, max = 50,
default = 0, float = 0.5}
end
--
local CFrame_Desync3 = Anti:Sector{Side = 1}
do
CFrame_Desync3:Title{Title = 'Custom Rotation', Description =
"Customize Your Rotation: XYZ"}
--
CFrame_Desync3:Slider{Name = "X", flag = 'X Rotation', min = -180, max
= 180, default = 0, float = 1}
--
CFrame_Desync3:Slider{Name = "Y", flag = 'Y Rotation', min = -180, max
= 180, default = 0, float = 1}
--
CFrame_Desync3:Slider{Name = "Z", flag = 'Z Rotation', min = -180, max
= 180, default = 0, float = 1}
--
CFrame_Desync3:Button{Name = 'Reset', callback = LPH_JIT(function()
Window._FlagsSet["XXX"](0)
Window._FlagsSet["YYY"](0)
Window._FlagsSet["ZZZ"](0)
Window._FlagsSet["X Rotation"](0)
Window._FlagsSet["Y Rotation"](0)
Window._FlagsSet["Z Rotation"](0)
end)}
end
--
local Velocity_Desync = Anti:Sector{Side = 2}
do
Velocity_Desync:Title{Title = 'Anti-Lock', Description = "Messes up
lockers prediction."}
--
local KHL = Velocity_Desync:Toggle{Name = "Enabled", flag = 'Velocity
Desync'}
--
S = KHL:Settings()
--
S:Keybind{flag = "Velocity Desync Key", name = 'Key', type = 1,
callback = LPH_JIT(function(Bool)
if flags["Velocity Desync Notify"] then
ui:Notify{text = "Desync:".. tostring(flags["Velocity
Desync Key"].Active).."", time = 5, style = "loading"}
end
end)}
--
S:Toggle{Name = "Notify", flag = 'Velocity Desync Notify'}
--
Velocity_Desync:Dropdown{Name = 'Type', flag = 'Velocity Desync
Preset', options = {"None", "HvH", "AntiBot", "Horizontal", "Sky", "Ground",
"Desync"}, min = 1, max = 1}
end
end
-- Misc
do
local Misc = Window:Tab{Name = 'Misc', icon = "rbxassetid://6031104650"}
--
local TargetStrafeSector = Misc:Sector{Side = 1}
--
do
TargetStrafeSector:Title{Title = 'Target Strafe', Description =
"Strafes your target"}
--
TargetStrafeSector:Toggle{Name = "Enabled", flag = "Target Strafe"}
--
S = TargetStrafeSector:CreateSegment{Name = 'Visualize'}
--
KHL = S:Toggle{flag = 'Visualize Strafe'}
--
S:Colorpicker{flag = "Visualize Strafe Color"}
--
TargetStrafeSector:Slider{Name = "Speed", flag = 'Target Strafe Speed',
min = 0, max = 20, default = 5, float = 0.5}
--
TargetStrafeSector:Slider{Name = "Height", flag = 'Target Strafe
Height', min = 0, max = 10, default = 0, float = 0.5}
--
TargetStrafeSector:Slider{Name = "Radius", flag = 'Target Strafe
Radius', min = 0, max = 10, default = 5, float = 0.5}
end
--
local Teleports = Misc:Sector{Side = 2}
do
Teleports:Title{Title = 'Buys', Description = "Auto-Buy Items"}
--
Teleports:Toggle{Name = "Buy Ammo", flag = 'Buy Ammo'}
--
Teleports:Slider{Name = 'Amount', flag = 'Buy Ammo Amount', min = 1,
max = 20, default = 5, float = 1}
--
Teleports:Button{Name = 'Buy', callback = LPH_JIT(function()
local Old_Position =
LocalPlayer.Character.HumanoidRootPart.CFrame
--
LocalPlayer.Character.HumanoidRootPart.CFrame = utility["Auto
Buy"]["Guns"][flags["Gun Name"]][1].Head.CFrame
--
Wait(0.3)
--
for i = 1, 20 do
Wait()
fireclickdetector(utility["Auto Buy"]["Guns"][flags["Gun
Name"]][1].ClickDetector)
end
--
Wait(0.3)
--
LocalPlayer.Character.HumanoidRootPart.CFrame = Old_Position
--
if flags["Buy Ammo"] then
for i = 1, flags["Buy Ammo Amount"] do
Wait(0.175)
local Old_Ammo_Position =
LocalPlayer.Character.HumanoidRootPart.CFrame
LocalPlayer.Character.HumanoidRootPart.CFrame =
utility["Auto Buy"]["Guns"][flags["Gun Name"]][2].Head.CFrame
Wait(0.175)
--
for i = 1, 10 do
Wait()
fireclickdetector(utility["Auto Buy"]["Guns"]
[flags["Gun Name"]][2].ClickDetector)
end
--
Wait(0.175)
LocalPlayer.Character.HumanoidRootPart.CFrame =
Old_Ammo_Position
Wait(0.175)
end
end
end)}
--
Teleports:Toggle{Name = "Auto Buy Armor", flag = 'Auto Buy Armor'}
end
end
Window:Separator()
-- Lua
do
local Settings = Window:Tab{Name = 'Settings', icon =
"rbxassetid://6035067857"}
--
local Configs_Sector = Settings:Sector{Side = 1}
Configs_Sector:Title{Title = 'Configuration', Description = "Save
configurations."}
do
Configs_Sector:Input({Name = "Name:", Flag = "Config Name", Focuses =
true, Editable = true})
--
Configs_Sector:Button{Name = 'Save', callback = LPH_JIT(function()
local config_name = flags["Config Name"]
if config_name == "" then
ui:Notify{text = 'Enter a config name!', time = 5, style =
"loading"}
end
writefile("Lynx/Configs/" .. config_name .. ".cfg",
Window:SaveConfig())
ui:Notify{text = "Saved your config to: " .. config_name, time =
5, style = "loading"}
end)}
Configs_Sector:Button{Name = 'Load', callback = LPH_JIT(function()
local config_name = flags["Config Name"]
Window:LoadConfig(readfile("Lynx/Configs/" .. config_name ..
".cfg"))
ui:Notify{text = "" .. config_name .. " has succesfully
loaded!.", time = 5, style = "loading"}
end)}
Configs_Sector:Button{Name = 'Delete', callback = LPH_JIT(function()
local selected_config = flags["Config Name"]
if selected_config then
delfile("Lynx/Configs/" .. selected_config .. ".cfg")
ui:Notify{text = "" .. selected_config .. " has been
deleted.", time = 5, style = "loading"}
else
ui:Notify{text = "" .. selected_config .. " doesnt
exist..", time = 5, style = "loading"}
end
end)}
end Configs_Sector:Button{Name = 'Load', callback = LPH_JIT(function()
local config_name = flags["Config Name"]
Window:LoadConfig(readfile("Lynx/Configs/" .. config_name .. ".cfg"))
ui:Notify{text = "" .. config_name .. " has succesfully loaded!.", time
= 5, style = "loading"}
end)}
--
local Settings_Sector = Settings:Sector{Side = 2}
Settings_Sector:Title{Title = 'Settings'}
do
Settings_Sector:Button{Name = 'Unload Cheat', callback = Lynx.Unload}
--
Settings_Sector:Keybind{Flag = "UI Bind", name = 'Key',key =
Enum.KeyCode.Insert, type = 2, callback = LPH_JIT(function() ui:Toggle() end)}
ui:Toggle()
--
Settings_Sector:Slider{Name = 'Rainbow Speed', flag = 'Rainbow Speed',
min = 0.1, max = 5, default = 2, float = 0.1}
--
S = Settings_Sector:CreateSegment{Name = 'Keybind List'}
--
S:Toggle{Name = "Enabled", flag = "Keybind List", callback =
function(Bool)
Visuals.KeyBindList.SetVisibleList(Bool)
end}
--
S:Colorpicker{flag = "Keybind List Color", callback = function()
Visuals["KeyBindList"]["Drawings"]["Accent"].Color =
flags["Keybind List Color"].Color
end}
--
S = Settings_Sector:CreateSegment{Name = 'Watermark'}
--
S:Toggle{Name = "Enabled", flag = "Keybind List", callback =
function(Bool)
if Watermark ~= nil then
WatermarkLUA:SetVisible(Bool)
end
end}
--
S:Colorpicker{flag = "Watermark Color", callback = function()
WatermarkLUA["Drawings"].Accent.Color = flags["Watermark
Color"].Color
end}
end
end
-- Scripts
do
local Scripts = Window:Tab{Name = 'Scripts', icon =
"rbxassetid://11419714821"}
--
local Settings_Sector = Scripts:Sector{Side = 1}
Settings_Sector:Title{Title = 'Settings'}
do
Settings_Sector:Dropdown{Name = 'LUAs', flag = 'LUAs', options =
{"ChinaHat", "BetterGame", "Minecraft"}, min = 1, max = 1}
--
Settings_Sector:Button{Name = 'Load', callback = function()
loadfile("Lynx/Luas/".. flags["LUAs"]..".lua")()
end}
end
--
--[[local Map_Sector = Scripts:Sector{Side = 2}
--
Map_Sector:Dropdown{Name = 'Maps', flag = 'Map', options = {"MM2
MAP","Parkour","Office","Anarchy"}, min = 1, max = 1}
--
Map_Sector:Button{Name = 'Load', callback = function()
LocalPlayer.Character.HumanoidRootPart.CFrame = utility["Maps"]
[flags["Map"]]--[[[2]]
--end}
--
end
-- Looped Functions
do
--LOOPED FUNCTIONS
function Lynx:Cursor(Frame)
if flags["Cursor"] and flags["Spin"] then
local MousePosition = NewVector2(Mouse.X, Mouse.Y + 36)
--
local SpinSize = flags["Dynamic Gap Enabled"] and (Abs(Sin(tick()
* flags["Dynamic Gap Speed"])) * flags["Cursor Gap"] / 4) + (flags['dot'] and 5 or
1) or flags["Cursor Gap"] / 4
local SpinSpeed = flags["Spin Speed"] / 5
local Radius = flags["Cursor Radius"] / 4 * 5
--
SpinAngle = SpinAngle + Rad((SpinSpeed * 10) * Frame);
--
if flags['Dot'] then
utility.Cursor.Dots[1].Position = NewVector2(Mouse.X - 1,
Mouse.Y + 36 - 1)
utility.Cursor.Dots[2].Position = NewVector2(Mouse.X - 2,
Mouse.Y + 36 - 2)
utility.Cursor.Dots[2].Color = NewRGB(0,0,0)
end
--
do -- // Inlines
utility.Cursor.Lines[1].From = (MousePosition +
(NewVector2(Cos(SpinAngle), Sin(SpinAngle))* (SpinSize + 1)))
utility.Cursor.Lines[1].To = (utility.Cursor.Lines[1].From
+ (NewVector2(Cos(SpinAngle), Sin(SpinAngle)) * (Radius * 5)))
--
utility.Cursor.Lines[2].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Pi), Sin(SpinAngle + Pi))* (SpinSize + 1)))
utility.Cursor.Lines[2].To = (utility.Cursor.Lines[2].From
+ (NewVector2(Cos(SpinAngle + Pi), Sin(SpinAngle + Pi)) * (Radius * 5)))
--
utility.Cursor.Lines[3].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Halfpi), Sin(SpinAngle + Halfpi))* (SpinSize + 1)))
utility.Cursor.Lines[3].To = (utility.Cursor.Lines[3].From
+ (NewVector2(Cos(SpinAngle + Halfpi), Sin(SpinAngle + Halfpi)) * (Radius * 5)))
--
utility.Cursor.Lines[4].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Halfpi * 3), Sin(SpinAngle + Halfpi * 3)) * (SpinSize +
1)))
utility.Cursor.Lines[4].To = (utility.Cursor.Lines[4].From
+ (NewVector2(Cos(SpinAngle + Halfpi * 3), Sin(SpinAngle + Halfpi * 3)) * (Radius *
5)))
end
--
do -- // Outlines
utility.Cursor.Outlines[1].From = (MousePosition +
(NewVector2(Cos(SpinAngle), Sin(SpinAngle)) * (SpinSize + 1)))
utility.Cursor.Outlines[1].To =
(utility.Cursor.Outlines[1].From + (NewVector2(Cos(SpinAngle), Sin(SpinAngle)) *
((Radius * 5) + 0.05)))
--
utility.Cursor.Outlines[2].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Pi), Sin(SpinAngle + Pi))* (SpinSize + 1)))
utility.Cursor.Outlines[2].To =
(utility.Cursor.Outlines[2].From + (NewVector2(Cos(SpinAngle + Pi), Sin(SpinAngle +
Pi)) * ((Radius * 5) + 0.05)))
--
utility.Cursor.Outlines[3].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Halfpi), Sin(SpinAngle + Halfpi))* (SpinSize + 1)))
utility.Cursor.Outlines[3].To =
(utility.Cursor.Outlines[3].From + (NewVector2(Cos(SpinAngle + Halfpi),
Sin(SpinAngle + Halfpi)) * ((Radius * 5) + 0.05)))
--
utility.Cursor.Outlines[4].From = (MousePosition +
(NewVector2(Cos(SpinAngle + Halfpi * 3), Sin(SpinAngle + Halfpi * 3)) * (SpinSize +
1)))
utility.Cursor.Outlines[4].To =
(utility.Cursor.Outlines[4].From + (NewVector2(Cos(SpinAngle + Halfpi * 3),
Sin(SpinAngle + Halfpi * 3)) * ((Radius * 5) + 0.05)))
end
end
end
--
function Lynx:CharacterMaterial()
if flags["Forcefield Character Enabled"] then
for i, v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
v.Material = Enum.Material.ForceField
v.Transparency = flags["Forcefield Character
Color"].Transparency
if flags["Rainbow Character"] then
v.Color = Lynx:Rainbow(flags["Rainbow Speed"])
else
v.Color = flags["Forcefield Character
Color"].Color
end
end
end
end
end
--
function Lynx:GunMaterial()
if flags["Gun Material Enabled"] then
local Tool = Lynx:GetTool()
if Tool ~= nil then
for i, v in pairs(Tool:GetChildren()) do
if v:IsA("MeshPart") then
v.TextureID = ""
v.Material = Enum.Material[flags["Gun
Material"]]
v.Color = flags["Rainbow Gun"] and
Lynx:Rainbow(flags["Rainbow Speed"]) or flags["Gun Material Color"].Color
v.Transparency = flags["Sine Gun"] and
utility.Sine + 0.4 or flags["Gun Material Color"].Transparency
end
end
end
end
end
--
function Lynx:Speed()
if flags["Speed Enabled"] and flags["Speed Key"].Active then
local Char, Humanoid, RootPart = Lynx:ValidateClient(LocalPlayer)
if Char and Humanoid and RootPart then
RootPart.CFrame = RootPart.CFrame + (Humanoid.MoveDirection
* flags["Speed Amount"] * 0.03)
--
if flags["Auto Jump"] and Humanoid.FloorMaterial ~=
Enum.Material.Air and not flags["Float"] then
Humanoid:ChangeState("Jumping")
Humanoid.UseJumpPower = false
end
--
if flags["Float"] then
local X, Y, Z = RootPart.CFrame:ToEulerAnglesYXZ()
RootPart.CFrame = NewCFrame(RootPart.CFrame.X,
flags["Float Height"], RootPart.CFrame.Z) * NewAngle(X, Y, Z)
Humanoid:ChangeState("Freefall")
end
end
end
end
--
function Lynx:Bhop()
if flags["Bunny Hop"] and flags["Bhop Key"].Active then
local Char, Humanoid, RootPart = Lynx:ValidateClient(LocalPlayer)
if Char and Humanoid and RootPart then
if Humanoid.FloorMaterial == Enum.Material.Air then
RootPart.CFrame = RootPart.CFrame +
(Humanoid.MoveDirection * flags["Bunny Hop Amount"] * 0.03)
Humanoid.UseJumpPower = false
end
end
end
end
--
function Lynx:Fly()
if flags["Fly Enabled"] and flags["Fly Key"].Active then
local Char, Humanoid, RootPart = Lynx:ValidateClient(LocalPlayer)
if Char and Humanoid and RootPart then
local FlyPosition = Vector3.new(0, 0, 0)
local CCV = Camera.CFrame.lookVector
--
if InputService:IsKeyDown(Enum.KeyCode.W) then
FlyPosition = FlyPosition + CCV
end
--
if InputService:IsKeyDown(Enum.KeyCode.S) then
FlyPosition = FlyPosition - CCV
end
--
if InputService:IsKeyDown(Enum.KeyCode.D) then
FlyPosition = FlyPosition + Vector3.new(-CCV.Z, 0,
CCV.X)
end
--
if InputService:IsKeyDown(Enum.KeyCode.A) then
FlyPosition = FlyPosition + Vector3.new(CCV.Z, 0, -
CCV.x)
end
--
if InputService:IsKeyDown(Enum.KeyCode.Space) then
FlyPosition = FlyPosition + Vector3.new(0, 1, 0)
end
--
if InputService:IsKeyDown(Enum.KeyCode.LeftShift) then
FlyPosition = FlyPosition - Vector3.new(0, 1, 0)
end
--
if FlyPosition.Unit.y == FlyPosition.Unit.y then
LocalPlayer.Character.HumanoidRootPart.Anchored =
false
LocalPlayer.Character.HumanoidRootPart.Velocity =
FlyPosition.Unit * flags["Fly Amount"]
else
LocalPlayer.Character.HumanoidRootPart.Velocity =
Vector3.new(0, 0, 0)
LocalPlayer.Character.HumanoidRootPart.Anchored =
true
end
end
end
end
--
function Lynx:GripPosition()
if flags["Grip Position"] and Lynx:GetTool() ~= nil and
Lynx:GetTool().GripPos ~= Vector3.new(flags["XX"],flags["YY"],flags["ZZ"]) then
local tool = Lynx:GetTool()
if tool ~= nil then
tool.Parent = LocalPlayer.Backpack
tool.GripPos =
Vector3.new(flags["XX"],flags["YY"],flags["ZZ"])
tool.Parent = LocalPlayer.Character
end
end
end
--
function Lynx:RotateCursor()
if flags["Da Hood Cursor Spin"] then
LocalPlayer.PlayerGui.MainScreenGui.Aim.Rotation =
LocalPlayer.PlayerGui.MainScreenGui.Aim.Rotation + flags["Cursor Spin Speed for
DH"]
end
end
--
function Lynx:SilentAim()
if flags["Silent Aim Enabled"] and flags["Silent Aim Key"].Active then
Lynx.Silent.Check = true
--
if flags["Silent Aim Type"] ~= "Target Aim" and flags["RageBot"]
== false then
Lynx.Silent.Target = Lynx:GetClosestPlayer()
elseif (flags["RageBot"] == true) then
Lynx.Silent.Target =
Lynx:findNearestTargetInRadius(LocalPlayer.Character.HumanoidRootPart.Position,
math.huge)
end
--
if Lynx.Silent.Target and Lynx.Silent.Target.Character and
Lynx:GetPlayerStatus() then
if (Find(flags["Silent_Aim_Checks"], "Wall") and not
Lynx:RayCast(Lynx.Silent.Target.Character.HumanoidRootPart,
Lynx:GetOrigin("Handle"), {Lynx:GetCharacter(LocalPlayer)})) then Lynx.Silent.Check
= false end
if (Find(flags["Silent_Aim_Checks"], "Visible") and
(Lynx.Silent.Target.Character.HumanoidRootPart.Transparency ~= 1)) then
Lynx.Silent.Check = false end
if (Find(flags["Silent_Aim_Checks"], "ForceField") and
Lynx.Silent.Target.Character.HumanoidRootPart:FindFirstChildOfClass("ForceField"))
then Lynx.Silent.Check = false end
if (Find(flags["Silent_Aim_Checks"], "Knocked") and not
Lynx:KnockCheck(Lynx.Silent.Target)) then Lynx.Silent.Check = false end
--
Lynx.Silent.HitPart = ((flags["Air Prediction Method"] ==
"Part" and Lynx.Silent.Target.Character.Humanoid:GetState() ==
Enum.HumanoidStateType.Freefall) and flags["Air Prediction Part"]) or
Lynx:GetClosestPart(Lynx.Silent.Target, flags["Silent Aim HitPart"]).Name
Lynx.Silent.Prediction = (flags["Auto-Prediction"] and
Lynx:AutoPrediction()) or Lynx.Silent.Prediction
--
if not Lynx.Silent.HitPart then return end
--
if (flags["Resolver"] == true and flags["Resolver
Key"].Active == true) then
Lynx.Silent.Resolver[1] =
Lynx:CalculateAbsolutePosition(Lynx.Silent.Target)
end
--
if flags["Bypass Aim Viewer"] then
local Offset = (flags["Air Prediction Method"] ==
"Offset" and Lynx.Silent.Target.Character.Humanoid.FloorMaterial ==
Enum.Material.Air) and NewVector3(0.0001, Lynx.Silent.Offset, 0.0001) or
NewVector3(0.001, 0.001, 0.001)
--
if (flags["Resolver"] == true and flags["Resolver
Key"].Active == true and Lynx.Silent.Resolver[1]) then
Lynx.Silent.Position =
(Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Resolver[1] * Lynx.Silent.Prediction) + Offset)
else
Lynx.Silent.Position =
(Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Target.Character.HumanoidRootPart.Velocity * Lynx.Silent.Prediction) +
Offset)
end
end
--
if Lynx.Silent.Position then
if flags["Auto-Shoot"] then
local Tool = Lynx:GetTool()
if Tool and Tool:FindFirstChild("Ammo") and
Tool:FindFirstChild("Ammo") ~= 0 then
if (Lynx.Silent.Check == true) and
InputService:GetFocusedTextBox() == nil then
VirtualUser:Button1Down(Vector2.new(), Workspace.CurrentCamera.CFrame)
RunService.RenderStepped:Wait()
VirtualUser:Button1Down(Vector2.new(), Workspace.CurrentCamera.CFrame)
end
--
if Tool:FindFirstChild("Ammo") then
local Ammo =
Tool:FindFirstChild("Ammo").Value
if Ammo == 0 then
game:GetService("ReplicatedStorage").MainEvent:FireServer("Reload", Tool)
end
end
end
end
--
local Position1, OnScreen =
Camera:WorldToViewportPoint(Lynx.Silent.Position)
local MousePosition = NewVector2(Mouse.X, Mouse.Y +
36)
local Magn = (MousePosition - NewVector2(Position1.X,
Position1.Y)).Magnitude
--
if utility.Renders[1].Visible then
if (Magn >= utility.Renders[1].Radius) then
Lynx.Silent.Check = false end
end
--
if flags["Visualize Part Enabled"] then
utility.Parts[1].CFrame = flags["Show
Prediction"] and CFrame.new(Lynx.Silent.Position) or
Lynx.Silent.Target.Character.HumanoidRootPart.CFrame
utility.Parts[1].Material =
Enum.Material[flags["Part Material"]]
else
utility.Parts[1].CFrame =
CFrame.new(999,999,999)
end
--
if flags["Visualize Part Chams Enabled"] then
if game.Workspace.Terrain["Backtrack"].Model ==
nil then return end
for _, Value in
pairs(game.Workspace.Terrain["Backtrack"].Model:GetChildren()) do
if Value:IsA("BasePart") then
Value.Position =
Lynx.Silent.Target.Character[Value.Name].Position +
Lynx.Silent.Target.Character.HumanoidRootPart.Velocity * Lynx.Silent.Prediction
Value.Rotation =
Lynx.Silent.Target.Character[Value.Name].Rotation
end
end
end
--
if flags["Look-At"] then
LocalPlayer.Character.Humanoid.AutoRotate =
false
local NearestPos =
CFrame.new(LocalPlayer.Character.PrimaryPart.Position,
Vector3.new(Lynx.Silent.Target.Character.HumanoidRootPart.Position.X,
LocalPlayer.Character.PrimaryPart.Position.Y,
Lynx.Silent.Target.Character.HumanoidRootPart.Position.Z))
LocalPlayer.Character:SetPrimaryPartCFrame(NearestPos)
end
--
if flags["Draw Dot"] then
if OnScreen then
utility.Renders[5].Position =
NewVector2(Position1.X, Position1.Y)
utility.Renders[5].Visible = true
else
utility.Renders[5].Visible = false
end
end
--
if flags["Draw Tracer Enabled"] then
if OnScreen then
utility.Renders[6].From =
NewVector2(Mouse.X, Mouse.Y + 36)
utility.Renders[6].To =
NewVector2(Position1.X, Position1.Y)
utility.Renders[6].Visible = true
utility.Renders[7].Color =
Color3.fromRGB(0, 0, 0)
--
if flags["Tracer Outline"] then
utility.Renders[7].From =
NewVector2(Mouse.X, Mouse.Y + 36)
utility.Renders[7].To =
NewVector2(Position1.X, Position1.Y)
utility.Renders[7].Visible = true
end
else
utility.Renders[6].Visible = false
utility.Renders[7].Visible = false
end
end
end
end
end
end
--
Lynx.AimViwerBypass = function()
if flags["Bypass Aim Viewer"] then
if flags["Silent Aim Enabled"] and flags["Silent Aim Key"].Active
then
local Offset = (flags["Air Prediction Method"] == "Offset"
and Lynx.Silent.Target.Character.Humanoid.FloorMaterial == Enum.Material.Air) and
NewVector3(0.0001, Lynx.Silent.Offset, 0.0001) or NewVector3(0.001, 0.001, 0.001)
--
if (flags["Resolver"] == true and flags["Resolver
Key"].Active == true and Lynx.Silent.Resolver[1]) then
ReplicatedStorage.MainEvent:FireServer("UpdateMousePos",
Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Resolver[1] * Lynx.Silent.Prediction) + Offset)
else
ReplicatedStorage.MainEvent:FireServer("UpdateMousePos",
Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Target.Character.HumanoidRootPart.Velocity * Lynx.Silent.Prediction) +
Offset)
end
end
end
end
--
function Lynx:AimAssist()
if flags["Aim Assist Enabled"] and flags["Aim Assist Key"].Active and
Lynx.Assist.Target and Lynx:GetPlayerStatus(Lynx.Assist.Target) then
local Char, Humanoid, RootPart =
Lynx:ValidateClient(Lynx.Assist.Target)
if Char and Humanoid and RootPart then
--
if not flags["Sticky Aim"] then
Lynx.Assist.Target = Lynx:GetClosestPlayer()
end
--
local MousePosition = NewVector2(Mouse.X, Mouse.Y + 36)
local HitPart = Lynx:GetClosestPart(Lynx.Assist.Target,
flags["Aim Assist HitPart"]).Name
local Prediction = flags["Aim Assist Prediction"] or 0
local Shake = flags["Camera Shake"] and
NewVector3(Random(0, flags["X"] * 20)/50, Random(0, flags["Y"] * 20)/50, Random(0,
flags["Z"] * 20)/50) or NewVector3(0, 0, 0)
--
local Tick = tick()
-- FOVs
local Position1, OnScreen =
Camera:WorldToViewportPoint(Char[HitPart].Position)
local Magn = (MousePosition - NewVector2(Position1.X,
Position1.Y)).Magnitude
--
if flags["Aim Assist FOV Enabled"] then
if (Magn >= flags["Aim Assist FOV Radius"]) then
return end
end
--
if flags["Deadzone Enabled"] then
if (Magn <= flags["Deadzone Radius"]) then return end
end
-- Dropdown Checks
if ((Find(flags["Aim_Assist_Checks"], "Wall")) and not
Lynx:RayCast(Char[HitPart], Lynx:GetOrigin("Torso"),
{Lynx:GetCharacter(LocalPlayer)})) then return end
if ((Find(flags["Aim_Assist_Checks"], "Alive")) and not
Lynx:ClientAlive(Lynx.Assist.Target, Char, Humanoid)) then return end
if ((Find(flags["Aim_Assist_Checks"], "Team")) and not
(Lynx:CheckTeam(LocalPlayer, Lynx.Assist.Target))) then return end
if ((Find(flags["Aim_Assist_Checks"], "ForceField")) and
Char:FindFirstChildOfClass("ForceField")) then return end
if (not ((Camera.CFrame.Position -
RootPart.Position).Magnitude <= flags["Aim Assist Distance"])) then return end
if (Find(flags["Aim_Assist_Checks"], "Knocked") and not
Lynx:KnockCheck(Lynx.Assist.Target)) then return end
-- Moving Camera
if ((Tick - utility.LastTick) >= (flags["Stutter Amount"] /
1000)) then
utility.LastTick = Tick
Camera.CFrame =
Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.p, Char[HitPart].Position +
(RootPart.Velocity * Prediction) + (Shake)), (100 - flags["Smoothness Amount"]) /
100)
end
end
end
end
--
function Lynx:AntiLock()
local Character, Humanoid, RootPart = Lynx:ValidateClient(LocalPlayer)
if Character and Humanoid and RootPart then
utility.Desyncs.OldVelocity =
LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity
utility.Desyncs.OldCFrame =
LocalPlayer.Character.HumanoidRootPart.CFrame
--
if flags["Velocity Desync"] and flags["Velocity Desync
Key"].Active then
LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity =
utility.Desyncs[flags["Velocity Desync Preset"]]
if flags["Velocity Desync Preset"] == "Desync" then
LocalPlayer.Character.HumanoidRootPart.CFrame =
LocalPlayer.Character.HumanoidRootPart.CFrame * NewAngle(0,Rad(0.001),0)
end
end
--
if flags["CFrame Desync"] and flags["CFrame Desync Key"].Active
then
local CFramePositions = {
["Nothing"] =
LocalPlayer.Character.HumanoidRootPart.CFrame,
["Random"] =
(CFrame.new(LocalPlayer.Character.HumanoidRootPart.Position) + NewVector3(Random(-
flags["Random Teleport Range"], flags["Random Teleport Range"]), Random(-
flags["Random Teleport Range"], flags["Random Teleport Range"]), Random(-
flags["Random Teleport Range"], flags["Random Teleport Range"]))) *
NewAngle(Rad(Random(-180, 180)), Rad(Random(-180, 180)), Rad(Random(-180, 180))),
["Upside Down"] =
LocalPlayer.Character.HumanoidRootPart.CFrame * NewAngle(0, 0, Rad(-180)),
["Floor Plant"] =
LocalPlayer.Character.HumanoidRootPart.CFrame * NewCFrame(0, -4, 0) * NewAngle(0,
Rad(Random(1,360)), Rad(-180)),
["Void"] =
LocalPlayer.Character.HumanoidRootPart.CFrame * NewCFrame(0, -2^20, 0)
}
--
LocalPlayer.Character.HumanoidRootPart.CFrame =
CFramePositions[flags["CFrame Desync Preset"]] * NewCFrame(flags["XXX"],
flags["YYY"], flags["ZZZ"]) * NewAngle(Rad(flags["X Rotation"]), Rad(flags["Y
Rotation"]), Rad(flags["Z Rotation"]))
--
if flags["Target Strafe"] and Lynx.Silent.Target and
flags["Silent Aim Enabled"] and flags["Silent Aim Key"].Active and
Lynx:GetPlayerStatus(Lynx.Silent.Target) then
utility.Angle += flags["Target Strafe Speed"]
LocalPlayer.Character.HumanoidRootPart.CFrame =
Lynx.Silent.Target.Character.HumanoidRootPart.CFrame * NewAngle(0,
Rad(utility.Angle), 0) * NewCFrame(0, flags["Target Strafe Height"], flags["Target
Strafe Radius"])
end
--
if flags["Visualize CFrame Desync"] then
VisualizeCFrame:SetPrimaryPartCFrame(LocalPlayer.Character.HumanoidRootPart.CFrame)
end
end
--
RunService.RenderStepped:Wait()
--
LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity =
utility.Desyncs.OldVelocity
if flags["CFrame Desync"] and flags["CFrame Desync Key"].Active
then
LocalPlayer.Character.HumanoidRootPart.CFrame =
utility.Desyncs.OldCFrame
end
end
end
--
function Lynx:GunSound()
local Tool = Lynx:GetTool()
--
if Tool and Tool:FindFirstChild("Handle") and flags["Custom Gun
Sounds"] and Tool:FindFirstChild("Ammo") then
for _, Value in pairs(Tool.Handle:GetChildren()) do
if Value:IsA("Sound") and Value.Name ~= "NoAmmo" and
Tool.Handle ~= nil then
Value.SoundId =
"rbxassetid://"..utility.sfx[flags["Sound Effect"]]
end
end
end
end
--
function Lynx:WorldVisuals()
if flags["World Visuals Enabled"] == true then
if flags["Ambient Enabled"] then
if Lighting.Ambient ~= flags["Ambient1 Color"].Color then
Lighting.Ambient = flags["Ambient1 Color"].Color
end
if Lighting.OutdoorAmbient ~= flags["Ambient2 Color"].Color
then
Lighting.OutdoorAmbient = flags["Ambient2
Color"].Color
end
end
--
if flags["Color Shift"] then
if Lighting.ColorShift_Bottom ~= flags["Color
Shift1"].Color then
Lighting.ColorShift_Bottom = flags["Color
Shift1"].Color
end
if Lighting.ColorShift_Top ~= flags["Color Shift2"].Color
then
Lighting.ColorShift_Top = flags["Color Shift2"].Color
end
end
--
if flags["Fog Enabled"] then
if Lighting.FogColor ~= flags["Fog Color"].Color then
Lighting.FogColor = flags["Fog Color"].Color
end
if Lighting.FogEnd ~= flags["Fog Start"] then
Lighting.FogEnd = flags["Fog Start"]
end
if Lighting.FogStart ~= flags["Fog End"] then
Lighting.FogStart = flags["Fog End"]
end
end
--
if flags["Time Enabled"] then
if Lighting.ClockTime ~= flags["Time"] then
Lighting.ClockTime = flags["Time"]
end
end
end
end
--
function Lynx:AutoPrediction()
local pingvalue =
game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
local split = string.split(pingvalue,'(')
local ping = tonumber(split[1])
local Predictions = readfile("Lynx/Assets/Auto
Prediction.txt"):split("\n")
--
local Prediction = nil
--
for Index = 1, #Predictions do
if ping < Index*10 then
Prediction = Predictions[Index]
return Prediction
end
end
--
if flags["Ping Based"] then
Prediction = pingvalue/1000*2.5
return Prediction
end
--
if Prediction == nil then
return 0.1413
end
end
end
-- Main Loop
Lynx:Connection(RunService.Heartbeat, LPH_JIT(function(Frame)
Lynx:Cursor(Frame)
--
Lynx:SilentAim()
--
Lynx:Speed()
--
if flags["Target Strafe"] and Lynx.Silent.Target ~= nil and flags["Silent Aim
Enabled"] == true and flags["Silent Aim Key"].Active and flags["CFrame Desync"] ==
false then
utility.Angle += flags["Target Strafe Speed"]
LocalPlayer.Character.HumanoidRootPart.CFrame =
Lynx.Silent.Target.Character.HumanoidRootPart.CFrame * NewAngle(0,
Rad(utility.Angle), 0) * NewCFrame(0, flags["Target Strafe Height"], flags["Target
Strafe Radius"])
end
--
if Lynx:GetPlayerStatus() then
Lynx:AimAssist()
--
Lynx:RotateCursor()
--
Lynx:GripPosition()
--
Lynx:GunSound()
--
for _, Script in pairs(LocalPlayer.Character:GetChildren()) do
if Script:IsA("Script") and Script.Name ~= "Health" and
Script.Name ~= "Sound" and Script:FindFirstChild("LocalScript") then
Script:Destroy()
end
end
end
--
if Visuals["KeyBindList"]["Drawings"]["Accent"].Visible == true then
Visuals["KeyBindList"]["Text"] = ""
--
Visuals.KeyBindList.AddValue(flags["Velocity Desync Key"].Active,
flags["Velocity Desync"], "Velocity Desync", flags["Velocity Desync Key"].Key)
Visuals.KeyBindList.AddValue(flags["Silent Aim Key"].Active,
flags["Silent Aim Enabled"], flags["Silent Aim Type"], flags["Silent Aim Key"].Key)
Visuals.KeyBindList.AddValue(flags["Aim Assist Key"].Active, flags["Aim
Assist Enabled"], "Aim Assist", flags["Aim Assist Key"].Key)
Visuals.KeyBindList.AddValue(flags["Speed Key"].Active, flags["Speed
Enabled"], "CFrame Speed", flags["Speed Key"].Key)
Visuals.KeyBindList.AddValue(flags["Fly Key"].Active, flags["Fly
Enabled"], "Fly", flags["Fly Key"].Key)
Visuals.KeyBindList.AddValue(flags["Bhop Key"].Active, flags["Bunny
Hop"], "B-Hop", flags["Bhop Key"].Key)
Visuals.KeyBindList.AddValue(flags["CFrame Desync Key"].Active,
flags["CFrame Desync"], "CFrame Desync", flags["CFrame Desync Key"].Key)
Visuals.KeyBindList.AddValue(flags["Resolver Key"].Active,
flags["Resolver"], "Resolver", flags["Resolver Key"].Key)
--
Visuals["KeyBindList"]["Drawings"].Key.Text = Visuals["KeyBindList"]
["Text"]
--
Visuals["KeyBindList"]["Drawings"].Frame.Size =
Vector2.new(Visuals["KeyBindList"]["Drawings"].Frame.Size.X, Visuals["KeyBindList"]
["Drawings"].Key.TextBounds.Y + 20)
Visuals["KeyBindList"]["Drawings"].Inner.Size =
Vector2.new(Visuals["KeyBindList"]["Drawings"].Frame.Size.X - 2,
Visuals["KeyBindList"]["Drawings"].Key.TextBounds.Y + 18)
Visuals["KeyBindList"]["Drawings"].Gradient.Size =
Visuals["KeyBindList"]["Drawings"].Inner.Size
end
--
Lynx:Bhop()
Lynx:Fly()
end))
--
Lynx:Connection(RunService.Heartbeat, LPH_JIT(function(Frame)
Lynx:AntiLock()
end))
--
local Tick = tick()
Lynx:Connection(RunService.RenderStepped, LPH_JIT(function()
if flags["PlayerESP_Enabled"] then
for _,Player in pairs(Players:GetPlayers()) do
local PlayerDrawing = Visuals["Drawings"][Player]
--
if not PlayerDrawing then continue end
--
for _,Drawing in pairs(PlayerDrawing) do
Drawing.Visible = false
end
--
for _, Drawing in pairs(Visuals["Drawings"][Player]["Corners"])
do
if Drawing then
Drawing.Visible = false
end
end
--
local Character = Player.Character
local RootPart, Humanoid, Head = Character and
Character:FindFirstChild("HumanoidRootPart"), Character and
Character:FindFirstChildOfClass("Humanoid"), Character and
Character:FindFirstChild("Head")
--
if not Character or not RootPart or not Humanoid then continue
end
--
local DistanceFromCharacter = (Camera.CFrame.Position -
RootPart.Position).Magnitude
local MaxDistance = flags["ESP Distance"] or 25000
local Hightlight_Target = false -- EDIT LATER or flags and
flags["esp_hightlight_target"]
--
local Pos, OnScreen =
Camera:WorldToViewportPoint(RootPart.Position)
--
if MaxDistance < DistanceFromCharacter then continue end
--
if not OnScreen then
if flags["PlayerESP_Enabled"] and flags["PlayerESP_Arrows"]
then
local Tri = PlayerDrawing.Arrow
local Tri2 = PlayerDrawing.ArrowOutline
--
local rootpartpos = RootPart.Position
--
Tri.Visible = true
Tri2.Visible = true
--
local relativePos =
Camera.CFrame:PointToObjectSpace(rootpartpos)
local angle = math.atan2(-relativePos.y,
relativePos.x)
Distance.Position = NewVector2(BoxSize.X / 2 +
BoxPos.X, BottomOffset + 10)
else
Distance.Position = NewVector2(BoxSize.X / 2 +
BoxPos.X, BottomOffset)
end
Distance.Color =
flags["PlayerESP_Distance_Color"].Color
Distance.Visible = true
BottomOffset = BottomOffset + 15
end
--
if flags["PlayerESP_Enabled"] and flags["PlayerESP_Flags"]
then
local Flag = PlayerDrawing.Flag
local FlagStr = ""
--
if Find(flags["PlayerESP_Flag_Options"], "Distance")
then
FlagStr ..= ("%sm\
n"):format(Round(DistanceFromCharacter))
end
--
if Find(flags["PlayerESP_Flag_Options"], "Money") and
Player and Player.DataFolder then
FlagStr ..= ("$%s\
n"):format(tostring(Player.DataFolder.Currency.Value or 0))
end
--
if Find(flags["PlayerESP_Flag_Options"], "Knocked")
and Player.Character.BodyEffects then
FlagStr ..= ("%s\
n"):format(tostring(Player.Character.BodyEffects["K.O"].Value and "KNOCKED" or ""))
end
--
Flag.Text = FlagStr
Flag.Position = NewVector2(BoxSize.X + BoxPos.X + 3,
BoxPos.Y - 2)
Flag.Visible = true
Flag.Color = flags["PlayerESP_FlagsColor"].Color
Flag.Transparency = 1 -
flags["PlayerESP_FlagsColor"].Alpha
end
end
end
else
for _,Player in pairs(Players:GetPlayers()) do
local PlayerDrawing = Visuals["Drawings"][Player]
--
if not PlayerDrawing then continue end
--
for _,Drawing in pairs(PlayerDrawing) do
Drawing.Visible = false
end
--
for _, Drawing in pairs(Visuals["Drawings"][Player]["Corners"])
do
if Drawing then
Drawing.Visible = false
end
end
end
end
end))
-- Bullet Tracers, Impacts, Shit Talk
task.spawn(LPH_JIT(function()
while RunService.RenderStepped:Wait() do
utility.Rainbow = {Lynx:Rainbow(flags["Rainbow Speed"]),
Lynx:Rainbow(flags["Rainbow Speed"]+1)}
utility.Sine = Abs(Sin(tick())) + 0.4
--
Lynx:CharacterMaterial()
--
if flags["Auto Buy Armor"] then
if LocalPlayer.Character.BodyEffects.Armor.Value == 0 then
local Old_Ammo_Position =
LocalPlayer.Character.HumanoidRootPart.CFrame
--
LocalPlayer.Character.HumanoidRootPart.CFrame =
workspace.Ignored.Shop["[High-Medium Armor] - $2163"].Head.CFrame
wait(0.1)
fireclickdetector(workspace.Ignored.Shop["[High-Medium
Armor] - $2163"].ClickDetector)
wait(0.1)
if LocalPlayer.Character.BodyEffects.Armor.Value > 0 then
LocalPlayer.Character.HumanoidRootPart.CFrame =
Old_Ammo_Position
else
fireclickdetector(workspace.Ignored.Shop["[High-
Medium Armor] - $2163"].ClickDetector)
end
end
end
--
Lynx:WorldVisuals()
--
Lynx:GunMaterial()
--
if Lynx:GetPlayerStatus() then
if Lynx["Connections"].Loop ~= nil then
Lynx["Connections"].Loop:Disconnect()
end
end
--
if Lynx:GetTool() and Lynx:GetTool():FindFirstChild("Ammo") then
Lynx["Connections"].Loop =
Lynx:GetTool().Ammo:GetPropertyChangedSignal("Value"):Connect(function()
if Lynx:GetTool().Ammo.Value ~=
Lynx:GetTool().MaxAmmo.Value then
pcall(function()
if flags["On-Hit-Raycast"] then
Lynx["Connections"]["On-Hit-Raycast"] =
Workspace.Ignored.Siren.Radius.DescendantAdded:Connect(function(Beam)
--
Lynx["Connections"]["On-Hit-
Raycast"]:Disconnect()
--
delay(0.05, function()
if Beam.Name == "BULLET_RAYS"
then
local Ray =
Ray.new(Beam.Position, Beam.CFrame.LookVector * 200)
local IgnoreList =
{LocalPlayer.Character}
local Hit, HitPosition =
workspace:FindPartOnRayWithIgnoreList(Ray, IgnoreList);
--
if Hit then
local InstanceHit
= Hit:FindFirstAncestorOfClass('Model')
if not InstanceHit
then return end
if
InstanceHit:FindFirstChild("Humanoid") and
InstanceHit:FindFirstChild("HumanoidRootPart") then
if
flags["Hit Sound"] then
ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(utility[
"ShitTalk"][tostring(flags["Shit Talk Mode"])][RandomChat], "All")
end
task.wait(flags["Shit Talk Delay"])
end
end))
--
Lynx:Connection(Players.PlayerAdded, LPH_JIT(function(Player)
Lynx:Add(Player)
--
if flags["PlayerESP_Chams"] then
Lynx:Cham_Character(Player, flags["Highlight_Fill_Color"].Color,
flags["Highlight_Outline_Color"].Color, flags["Highlight_Fill_Color"].Alpha,
flags["Highlight_Outline_Color"].Alpha)
end
end))
--
Lynx:Connection(Players.PlayerRemoving, LPH_JIT(function(Player)
if Visuals["Drawings"][Player] or Visuals["Drawings"][Player]["Corners"] then
for Index, Drawing in pairs(Visuals["Drawings"][Player]) do
if Drawing and Index ~= "Corners" then
Drawing:Remove()
end
end
--
for Index = 1, 16 do
Visuals["Drawings"][Player]["Corners"][Index]:Remove()
end
--
Visuals["Drawings"][Player]["Corners"] = nil
Visuals["Drawings"][Player] = nil
end
--
if Find(flags["Silent Aim Notify"], "Left") and Lynx.Silent.Target ~= nil and
Player == Lynx.Silent.Target then
ui:Notify{text = "Locked user has left: ".. Lynx.Silent.Target.Name.. "
(".. Lynx.Silent.Target.DisplayName .. ")", time = 2, style = "loading"}
end
--
if flags["PlayerESP_Chams"] then
Lynx:Cham_Remove(Player)
end
end))
-- Cursor, FOVs
Lynx:Connection(InputService.InputChanged, LPH_JIT(function(input, typing)
if flags["Cursor"] then
if not flags["Spin"] then
InputService.OverrideMouseIconBehavior =
Enum.OverrideMouseIconBehavior.ForceHide
--
if flags['Dot'] then
utility.Cursor.Dots[1].Position = NewVector2(Mouse.X - 1,
Mouse.Y + 36 - 1)
utility.Cursor.Dots[2].Position = NewVector2(Mouse.X - 2,
Mouse.Y + 36 - 2)
utility.Cursor.Dots[2].Color = NewRGB(0,0,0)
end
--
utility.Cursor.Lines[1].From = NewVector2(Mouse.X + flags["Cursor
Gap"] * 5, Mouse.Y + 36)
utility.Cursor.Lines[1].To = NewVector2(Mouse.X + flags["Cursor
Radius"] * 5, Mouse.Y + 36)
utility.Cursor.Outlines[1].From = NewVector2(Mouse.X +
flags["Cursor Gap"] * 5, Mouse.Y + 36)
utility.Cursor.Outlines[1].To = NewVector2(Mouse.X +
flags["Cursor Radius"] * 5, Mouse.Y + 36)
--
utility.Cursor.Lines[2].From = NewVector2(Mouse.X - flags["Cursor
Gap"] * 5, Mouse.Y + 36)
utility.Cursor.Lines[2].To = NewVector2(Mouse.X - flags["Cursor
Radius"] * 5, Mouse.Y + 36)
utility.Cursor.Outlines[2].From = NewVector2(Mouse.X -
flags["Cursor Gap"] * 5, Mouse.Y + 36)
utility.Cursor.Outlines[2].To = NewVector2(Mouse.X -
flags["Cursor Radius"] * 5, Mouse.Y + 36)
--
utility.Cursor.Lines[3].From = NewVector2(Mouse.X, Mouse.Y -
flags["Cursor Gap"] * 5 + 36)
utility.Cursor.Lines[3].To = NewVector2(Mouse.X, Mouse.Y -
flags["Cursor Radius"] * 5 + 36)
utility.Cursor.Outlines[3].From = NewVector2(Mouse.X, Mouse.Y -
flags["Cursor Gap"] * 5 + 36)
utility.Cursor.Outlines[3].To = NewVector2(Mouse.X, Mouse.Y -
flags["Cursor Radius"] * 5 + 36)
--
utility.Cursor.Lines[4].From = NewVector2(Mouse.X, Mouse.Y +
flags["Cursor Gap"] * 5 + 36)
utility.Cursor.Lines[4].To = NewVector2(Mouse.X, Mouse.Y +
flags["Cursor Radius"] * 5 + 36)
utility.Cursor.Outlines[4].From = NewVector2(Mouse.X, Mouse.Y +
flags["Cursor Gap"] * 5 + 36)
utility.Cursor.Outlines[4].To = NewVector2(Mouse.X, Mouse.Y +
flags["Cursor Radius"] * 5 + 36)
end
end
--
if utility.Renders[1].Visible then
utility.Renders[1].Position = NewVector2(Mouse.X, Mouse.Y + 36)
end
--
if utility.Renders[2].Visible then
utility.Renders[2].Position = NewVector2(Mouse.X, Mouse.Y + 36)
end
--
if utility.Renders[3].Visible then
utility.Renders[3].Position = NewVector2(Mouse.X, Mouse.Y + 36)
end
end))
--
Wanted:GetPropertyChangedSignal("Value"):Connect(function()
if flags["Custom Stomps"] then
if tonumber(Wanted.Value) == tonumber(OldWanted + 50) then
task.spawn(function()
if Stomping == true then
local Info = {
Character = nil,
Humanoid = nil
}
--
local function GetTouchingParts(part)
local connection =
part.Touched:Connect(function() end)
local results = part:GetTouchingParts()
connection:Disconnect()
return results
end
--
for i,v in
pairs(GetTouchingParts(LocalPlayer.Character["LeftFoot"])) do
if Find(bodyParts, v.Name) then
if v.Parent ~= LocalPlayer.Character then
Info.Character = v.Parent
end
end
end
--
Info.Humanoid = Info.Character.Humanoid
--
if Info.Humanoid and
Info.Character.BodyEffects["K.O"].Value == true then
--
local vCharacter = Info.Humanoid.Parent
local vPlayer =
Players:GetPlayerFromCharacter(vCharacter)
--
if flags["Stomp Effect"] == "Explosion" then
Stomps:Explode(vCharacter)
end
if flags["Stomp Effect"] == "Airstrike" then
Stomps:AirStrike(vCharacter)
end
if flags["Stomp Effect"] == "Heart" then
Stomps:Heart(vCharacter)
end
if flags["Stomp Effect"] == "UFO" then
Stomps:UFO(vCharacter)
end
if flags["Stomp Effect"] == "Glitch" then
Stomps:Glitch(vCharacter)
end
if flags["Stomp Effect"] == "Cosmic Slash" then
Stomps:CosmicSlash(vCharacter)
end
end
end
end)
end
OldWanted = Wanted.Value
end
end)
--
for Index, Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
Lynx:Add(Player)
end
end
--
local Old
Old = hookmetamethod(game, "__namecall", LPH_JIT(function(self, ...)
if tostring(self.Name) == "MainEvent" and getnamecallmethod() == "FireServer"
and flags["Custom Stomps"] or (flags["Silent Aim Enabled"] and flags["Silent Aim
Key"].Active) then
local args = {...}
--
if flags["Custom Stomps"] and tostring(args[1]) == "Stomp" then
Stomping = true
delay(0.8,function()
Stomping = false
end)
end
--
if flags["Silent Aim Enabled"] and flags["Silent Aim Key"].Active and
args[1] == "UpdateMousePos" and not flags["Bypass Aim Viewer"] then
if Lynx.Silent.Target ~= nil and Lynx.Silent.Target.Character ~=
nil and Lynx.Silent.Target.Character.HumanoidRootPart ~= nil and Lynx.Silent.Check
== true and Lynx.Silent.HitPart and Lynx.Silent.Target.Character.Head then
local Offset = (flags["Air Prediction Method"] == "Offset"
and Lynx.Silent.Target.Character.Humanoid.FloorMaterial == Enum.Material.Air) and
NewVector3(0.0001, Lynx.Silent.Offset, 0.0001) or NewVector3(0.001, 0.001, 0.001)
--
if (flags["Resolver"] == true and flags["Resolver
Key"].Active == true and Lynx.Silent.Resolver[1] ~= nil) then
args[2] =
Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Resolver[1] * Lynx.Silent.Prediction) + Offset
else
args[2] =
Lynx.Silent.Target.Character[Lynx.Silent.HitPart].Position +
(Lynx.Silent.Target.Character.HumanoidRootPart.Velocity * Lynx.Silent.Prediction) +
Offset
end
--
Lynx.Silent.Position = args[2]
--
return Old(self, unpack(args))
end
end
end
return Old(self, ...)
end))
--
local old
old = hookmetamethod(game, "__index", LPH_JIT(function(Self, Key)
if not checkcaller() then
if Key == "CFrame" and flags["CFrame Desync"] and flags["CFrame Desync
Key"].Active and Lynx:GetPlayerStatus(LocalPlayer) then
if Self == LocalPlayer.Character.HumanoidRootPart then
return utility.Desyncs.OldCFrame
end
end
end
return old(Self, Key)
end))
--
ui:Notify{text = "osiris.cool has loaded in ".. Round(tostring(tick() -
utility.LastTick)).. " seconds !", time = 5, style = "loading"}