0% found this document useful (0 votes)
189 views22 pages

Roblox UI Library and Notification Setup

The document outlines a script for a Roblox game that includes a user interface library and various functionalities such as notifications, player targeting, and visual enhancements. It allows customization of UI elements, notification modes, and player interactions. Additionally, it provides methods for drawing and rendering visual elements in the game environment.

Uploaded by

aabd.13529
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views22 pages

Roblox UI Library and Notification Setup

The document outlines a script for a Roblox game that includes a user interface library and various functionalities such as notifications, player targeting, and visual enhancements. It allows customization of UI elements, notification modes, and player interactions. Additionally, it provides methods for drawing and rendering visual elements in the game environment.

Uploaded by

aabd.13529
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

if not LPH_OBFUSCATED then

getfenv().LPH_NO_VIRTUALIZE = function(f) return f end;


end

local Library = loadstring(game:HttpGet("[Link] --


you can go into the github link and copy all of it and modify it for yourself.
local Window = Library:CreateWindow("[Link]", [Link](420, 420),
[Link]) --you can change your UI keybind
local AimingTab = Window:CreateTab("Aiming") --you can rename this tab to whatever
you want --you can also change the tabs code, for example "AimingTab" can be
changed to "FunnyCoolTab" etc.
local VisualsTab = Window:CreateTab("Visuals") --you can rename this tab to
whatever you want --you can also change the tabs code, for example "AimingTab" can
be changed to "FunnyCoolTab" etc.
local MiscTab = Window:CreateTab("Misc") --you can rename this tab to whatever you
want --you can also change the tabs code, for example "AimingTab" can be changed to
"FunnyCoolTab" etc.

local notificationLibrary =
loadstring(game:HttpGet("[Link]
main/xaxas-notification/[Link]"))();
local notifications = [Link]({
NotificationLifetime = 5,
NotificationPosition = "Middle",

TextFont = [Link],
TextColor = [Link](255, 255, 255),
TextSize = 15,

TextStrokeTransparency = 0,
TextStrokeColor = [Link](0, 0, 0)
});

local AkaliNotif =
loadstring(game:HttpGet("[Link]
Scripts/[Link]"))();
local ANotify = [Link];

function Kick(Reason)
[Link]:Kick(Reason)
end

getgenv().NotiMode = "Roblox"

function Notifications(NotiINFO)
if getgenv().NotiMode == "Roblox" then
game:GetService("StarterGui"):SetCore("SendNotification",{
Title = "[Link]", -- Required
Text = NotiINFO, -- Required
Icon = "rbxassetid://15115954522" -- Optional
})
else
if getgenv().NotiMode == "Xaxa" then
notifications:BuildNotificationUI();
notifications:Notify(NotiINFO);
else
if getgenv().NotiMode == "Akali" then
ANotify({
Description = NotiINFO;
Title = "[Link]";
Duration = 1;
});
else
Kick('[Link] | Notification Error, please contact @ finobe on
discord if this continues.')
end
end
end
end

local DLib = loadstring(game:HttpGet("[Link]


-- Very Sexy variables :^)
local InputService, TeleportService, RunService, Workspace, Lighting, Players,
HttpService, StarterGui, ReplicatedStorage, TweenService, VirtualUser,
PathFindingService, Stats = 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"), game:GetService("Stats")
local NewVector2, NewVector3, NewCFrame, NewAngle = [Link], [Link],
[Link], [Link]
local NewRGB, NewHex = [Link], [Link]
local Find, Clear, Sub, Upper, Lower, Insert = [Link], [Link], [Link],
[Link], [Link], [Link]
local Mouse, Camera, LocalPlayer = [Link]:GetMouse(),
[Link], [Link]
local Huge, Pi, Clamp, Round, Abs, Floor, Random, Sin, Cos, Rad, Halfpi =
[Link], [Link], [Link], [Link], [Link], [Link], [Link],
[Link], [Link], [Link], [Link]/2
local viewportSize = [Link];

getgenv().Lock = {
Enabled = false,
Mode = "",
Locking = false,
Resolver = false,
LookAt = false,
ViewAt = false,
Target = {Player = nil, Part = nil, Position = nil, Angle = 0},
ClosetPoint = false,
AntiAimViewer = false,
AntiCurve = false,
UnlockOnDeath = false,
ChatAlerts = false,
Visualize = {
Tracer = {false, nil},
Highlight = nil,
Dot = false,
Hitbox = false,
Strafe = false,
Notify = false,
X = 5,
Y = 8,
Z = 5,
TargetUI = nil,
},
Target_Strafe = {false, 0, 0, 0},
Prediction = {
Part = nil, -- Closest bodypart [Make it just {"HumanoidRootPart"} for just
hrp]
Air = false,
Amount = 0.13,
PingBased = false,
},
Drawings = {}
}
getgenv().offset = 0.06
local offset = getgenv().offset
-- Functions and Renders :3
function Lock:GetPlayerStatus(Player)
if not Player then Player = LocalPlayer end
return [Link] and [Link]:FindFirstChild("Humanoid") and
[Link] > 0 and true or false
end
--
function Lock:GetClosestPlayer()
local shortestDistance = [Link]
--
local closestPlayer
for _, Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer and Lock:GetPlayerStatus(Player) then
local pos, OnScreen =
Camera:WorldToViewportPoint([Link])
local magnitude = ([Link](pos.X, pos.Y) -
[Link](viewportSize.X/2, viewportSize.Y/2 +
game:GetService("GuiService"):GetGuiInset().Y)).magnitude
--
if magnitude < shortestDistance and OnScreen then
closestPlayer = Player
shortestDistance = magnitude
end
end
end
return closestPlayer
end
--
function Lock:newDrawing(type, prop)
local obj = [Link](type)
--
if prop then
for i,v in next, prop do
obj[i] = v
end
end
return obj
end
--
function Lock:CalculateAbsolutePosition(Player)
if Lock:GetPlayerStatus(Player) then
local root = [Link]["HumanoidRootPart"]
--
local currentPosition = [Link]
local currentTime = tick()
--
Wait()
--
local newPosition = [Link]
local newTime = tick()
--
local distanceTraveled = (newPosition - currentPosition)
--
local timeInterval = newTime - currentTime
local velocity = distanceTraveled / timeInterval
currentPosition = newPosition
currentTime = newTime
--
return velocity
end
end
--
function Lock:GetTool()
if [Link] and
[Link]:FindFirstChildWhichIsA("Tool") and Lock:GetPlayerStatus()
then
return [Link]:FindFirstChildWhichIsA("Tool")
end
end
--
function Lock:GetTracerOrigin(Origin)
if Origin == "Head" then
return Camera:WorldToViewportPoint([Link])

elseif Origin == "Gun" then


local Tool = Lock:GetTool()
if Tool and [Link] ~= nil then
return Camera:WorldToViewportPoint([Link])
else
return nil
end
else
return [Link](viewportSize.X/2, viewportSize.Y/2 +
game:GetService("GuiService"):GetGuiInset().Y)
end
end
-- Drawing and Rendering Everything
[Link] = Lock:newDrawing("Line", {Visible = false, Color =
NewRGB(255, 255, 255), Thickness = 1, ZIndex = 2, Transparency = 1})
[Link] = Lock:newDrawing("Circle", {Filled = true, Visible = false,
Color = NewRGB(255, 255, 255), Thickness = 1, ZIndex = 2, Transparency = 1, Radius
= 10})
[Link] = Lock:newDrawing("Circle", {Visible = false, Color =
NewRGB(255, 255, 255), Thickness = 1, ZIndex = 2, Transparency = 1, Radius = 2})
--
[Link] = DLib:New3DCircle()
[Link] = false
[Link] = [Link](255,255,255)
[Link] =
[Link]
[Link] = 10
--
[Link] = [Link]("Part")
[Link] = false
[Link] = false
[Link] = [Link](9999,9999,9999)
[Link] = [Link]
[Link] = [Link]
[Link] = [Link](255,255,255)
[Link] = 0.8

local highlight = [Link]("Highlight")

[Link]:Connect(function()
if [Link] and [Link] then
[Link] = [Link]
[Link] = getgenv().fillcolor
[Link] = getgenv().outlinecolor
else
[Link] = [Link]
end
end)

local gui =
{
targetui = [Link]("ScreenGui"),
Frame = [Link]("Frame"),
ImageLabel = [Link]("ImageLabel"),
LocalScript = [Link]("LocalScript"),
TextLabel = [Link]("TextLabel"),
LocalScript_1 = [Link]("LocalScript"),
Frame_1 = [Link]("Frame"),
TextLabel_1 = [Link]("TextLabel"),
LocalScript_2 = [Link]("LocalScript"),
Frame_2 = [Link]("Frame"),
TextLabel_2 = [Link]("TextLabel"),
LocalScript_3 = [Link]("LocalScript"),
UIGradient = [Link]("UIGradient"),
Shadow = [Link]("ImageLabel"),
Gradient = [Link]("UIGradient"),
}

[Link] = [Link]
[Link] = "targetui"
[Link] = game:GetService("CoreGui")

[Link] = 0
[Link] = [Link](0, 323, 0, 112)
[Link].BorderColor3 = [Link](0, 0, 0)
[Link] = "Frame"
[Link] = [Link](0.414371, 0, 0.854945, 0)
[Link].BackgroundColor3 = [Link](15, 15, 15)
[Link] = [Link]

[Link].BackgroundColor3 = [Link](255, 255, 255)


[Link] = "rbxasset://textures/ui/[Link]"
[Link] = [Link](0, 75, 0, 75)
[Link].BorderColor3 = [Link](0, 0, 0)
[Link] = "ImageLabel"
[Link] = 1
[Link] = [Link](0.0400908, 0, 0.151078, 0)
[Link] = [Link]

[Link] = "LocalScript"
[Link] = [Link]

[Link] = 0
[Link] = 0
[Link].BackgroundColor3 = [Link](255, 255, 255)
[Link] = [Link]
[Link] = 13
[Link] = [Link](0.321981, 0, 0.3125, 0)
[Link] = [Link](0, 200, 0, 23)
[Link] = "TextLabel"
[Link].TextColor3 = [Link](200, 200, 200)
[Link].BorderColor3 = [Link](0, 0, 0)
[Link] = "@nil"
[Link] = 1
[Link] = [Link]
[Link] = [Link]

gui.LocalScript_1.Name = "LocalScript"
gui.LocalScript_1.Parent = [Link]

gui.Frame_1.BorderSizePixel = 0
gui.Frame_1.Size = [Link](0, 211, 0, 22)
gui.Frame_1.BorderColor3 = [Link](0, 0, 0)
gui.Frame_1.Name = "Frame"
gui.Frame_1.Position = [Link](0.321981, 0, 0.625, 0)
gui.Frame_1.BackgroundColor3 = [Link](227, 181, 200)
gui.Frame_1.Parent = [Link]

gui.TextLabel_1.TextStrokeTransparency = 0
gui.TextLabel_1.BorderSizePixel = 0
gui.TextLabel_1.BackgroundColor3 = [Link](227, 181, 200)
gui.TextLabel_1.Font = [Link]
gui.TextLabel_1.TextSize = 14
gui.TextLabel_1.Position = [Link](0.0584566, 0, 0, 0)
gui.TextLabel_1.Size = [Link](0, 185, 0, 20)
gui.TextLabel_1.Name = "TextLabel"
gui.TextLabel_1.TextColor3 = [Link](255, 255, 255)
gui.TextLabel_1.BorderColor3 = [Link](0, 0, 0)
gui.TextLabel_1.Text = "Health: nan"
gui.TextLabel_1.BackgroundTransparency = 1
gui.TextLabel_1.Parent = gui.Frame_1
gui.LocalScript_2.Name = "LocalScript"
gui.LocalScript_2.Parent = gui.TextLabel_1

gui.Frame_2.BorderSizePixel = 0
gui.Frame_2.Size = [Link](0, 323, 0, 2)
gui.Frame_2.BorderColor3 = [Link](0, 0, 0)
gui.Frame_2.Name = "Frame"
gui.Frame_2.BackgroundColor3 = [Link](227, 181, 200)
gui.Frame_2.Parent = [Link]

gui.TextLabel_2.TextStrokeTransparency = 0
gui.TextLabel_2.BorderSizePixel = 0
gui.TextLabel_2.BackgroundColor3 = [Link](255, 255, 255)
gui.TextLabel_2.Font = [Link]
gui.TextLabel_2.TextSize = 18
gui.TextLabel_2.Position = [Link](0.321981, 0, 4.07144, 0)
gui.TextLabel_2.Size = [Link](0, 200, 0, 43)
gui.TextLabel_2.Name = "TextLabel"
gui.TextLabel_2.TextColor3 = [Link](255, 255, 255)
gui.TextLabel_2.BorderColor3 = [Link](0, 0, 0)
gui.TextLabel_2.Text = "nil"
gui.TextLabel_2.BackgroundTransparency = 1
gui.TextLabel_2.TextXAlignment = [Link]
gui.TextLabel_2.Parent = gui.Frame_2

gui.LocalScript_3.Name = "LocalScript"
gui.LocalScript_3.Parent = gui.TextLabel_2

[Link] = "UIGradient"
[Link] = [Link]{ [Link](0,
[Link](50, 50, 50)), [Link](1, [Link](170, 170,
170)) }
[Link] = 270
[Link] = [Link]

[Link].ImageColor3 = [Link](14, 14, 14)


[Link] = 0
[Link] = [Link](18, 18, 20, 20)
[Link] = [Link]
[Link] = [Link](0.5, 0.5)
[Link] = "[Link]
[Link] = [Link](1, 20, 1, 20)
[Link] = "Shadow"
[Link] = 1
[Link] = [Link](0.5, 0, 0.5, 0)
[Link] = [Link]

[Link] = "Gradient"
[Link] = 90
[Link] = [Link]
[Link] = false

for _, v in pairs([Link]:GetChildren()) do
if v:IsA("Script") and [Link] ~= "Health" and [Link] ~= "Sound" and
v:FindFirstChild("LocalScript") then
v:Destroy()
end
end
[Link]:Connect(function(char)
repeat
wait()
until [Link]
[Link]:Connect(function(child)
if child:IsA("Script") then
wait(0.1)
if child:FindFirstChild("LocalScript") then
[Link]:FireServer()
end
end
end)
end)

local Player = game:GetService("Players")["LocalPlayer"];

Player["CharacterAdded"]:connect(function(v)
repeat wait() until v and v:FindFirstChild("Humanoid")
for _, v in pairs([Link]:GetChildren()) do
if v:IsA("Script") and [Link] ~= "Health" and [Link] ~= "Sound" and
v:FindFirstChild("LocalScript") then
v:Destroy()
end
end
[Link]:Connect(function(char)
repeat
wait()
until [Link]
[Link]:Connect(function(child)
if child:IsA("Script") then
wait(0.1)
if child:FindFirstChild("LocalScript") then
[Link]:FireServer()
end
end
end)
end)
end)

getgenv().AimPart = "HumanoidRootPart"
getgenv().OldAimPart = "HumanoidRootPart"
getgenv().AimlockKey = "q"
getgenv().AimRadius = 5
getgenv().ThirdPerson = true
getgenv().FirstPerson = true
getgenv().TeamCheck = false
getgenv().PredictMovement = false
getgenv().PredictionVelocity = 7.22

getgenv().Smoothness = false
getgenv().SmoothnessAmount = 1
getgenv().EasingStyle = [Link]

getgenv().Notifications = false

getgenv().AutoPrediction = false
getgenv().UnlockOnDeath = false
getgenv().Shake = false
getgenv().ShakePower = 0

local Players, Uis, RService, SGui = game:GetService"Players",


game:GetService"UserInputService", game:GetService"RunService",
game:GetService"StarterGui";
local Client, Mouse, Camera, CF, RNew, Vec3, Vec2 = [Link],
[Link]:GetMouse(), [Link], [Link], [Link],
[Link], [Link];
local Aimlock, MousePressed, CanNotify = true, false, false;
local AimlockTarget
local OldPre;

getgenv().WorldToViewportPoint = function(P)
return Camera:WorldToViewportPoint(P)
end

getgenv().WorldToScreenPoint = function(P)
return [Link](Camera, P)
end

getgenv().GetObscuringObjects = function(T)
if T and T:FindFirstChild(getgenv().AimPart) and Client and
[Link]:FindFirstChild("Head") then
local RayPos = workspace:FindPartOnRay(RNew(
T[getgenv().AimPart].Position, [Link])
)
if RayPos then return RayPos:IsDescendantOf(T) end
end
end

getgenv().GetNearestTarget = function()
local players = {}
local PLAYER_HOLD = {}
local DISTANCES = {}
for i, v in pairs(Players:GetPlayers()) do
if v ~= Client then
[Link](players, v)
end
end
for i, v in pairs(players) do
if [Link] ~= nil then
local AIM = [Link]:FindFirstChild("Head")
if getgenv().TeamCheck == true and [Link] ~= [Link] then
local DISTANCE = ([Link]:FindFirstChild("Head").Position -
[Link].p).magnitude
local RAY = [Link]([Link].p,
([Link].p - [Link].p).unit * DISTANCE)
local HIT,POS = [Link]:FindPartOnRay(RAY, [Link])
local DIFF = [Link]((POS - [Link]).magnitude)
PLAYER_HOLD[[Link] .. i] = {}
PLAYER_HOLD[[Link] .. i].dist= DISTANCE
PLAYER_HOLD[[Link] .. i].plr = v
PLAYER_HOLD[[Link] .. i].diff = DIFF
[Link](DISTANCES, DIFF)
elseif getgenv().TeamCheck == false and [Link] == [Link] then
local DISTANCE = ([Link]:FindFirstChild("Head").Position -
[Link].p).magnitude
local RAY = [Link]([Link].p,
([Link].p - [Link].p).unit * DISTANCE)
local HIT,POS = [Link]:FindPartOnRay(RAY, [Link])
local DIFF = [Link]((POS - [Link]).magnitude)
PLAYER_HOLD[[Link] .. i] = {}
PLAYER_HOLD[[Link] .. i].dist= DISTANCE
PLAYER_HOLD[[Link] .. i].plr = v
PLAYER_HOLD[[Link] .. i].diff = DIFF
[Link](DISTANCES, DIFF)
end
end
end

if unpack(DISTANCES) == nil then


return nil
end

local L_DISTANCE = [Link]([Link](unpack(DISTANCES)))


if L_DISTANCE > getgenv().AimRadius then
return nil
end

for i, v in pairs(PLAYER_HOLD) do
if [Link] == L_DISTANCE then
return [Link]
end
end
return nil
end

[Link]:Connect(function()
if getgenv().ThirdPerson == true and getgenv().FirstPerson == true then
if ([Link].p - [Link].p).Magnitude > 1 or
([Link].p - [Link].p).Magnitude <= 1 then
CanNotify = true
else
CanNotify = false
end
elseif getgenv().ThirdPerson == true and getgenv().FirstPerson == false then
if ([Link].p - [Link].p).Magnitude > 1 then
CanNotify = true
else
CanNotify = false
end
elseif getgenv().ThirdPerson == false and getgenv().FirstPerson == true then
if ([Link].p - [Link].p).Magnitude <= 1 then
CanNotify = true
else
CanNotify = false
end
end
if Aimlock == true and MousePressed == true then
if AimlockTarget and [Link] and
[Link]:FindFirstChild(getgenv().AimPart) then
if getgenv().FirstPerson == true then
if CanNotify == true then
if getgenv().PredictMovement == true then
if getgenv().Smoothness == true then
--// The part we're going to lerp/smoothen \\--
local Main = CF([Link].p,
[Link][getgenv().AimPart].Position +
[Link][getgenv().AimPart].Velocity/PredictionVelocity)

--// Making it work \\--


[Link] = [Link]:Lerp(Main,
getgenv().SmoothnessAmount, getgenv().EasingStyle , [Link])
else
[Link] = CF([Link].p,
[Link][getgenv().AimPart].Position +
[Link][getgenv().AimPart].Velocity/PredictionVelocity)
end
elseif getgenv().PredictMovement == false then
if getgenv().Smoothness == true then
--// The part we're going to lerp/smoothen \\--
local Main = CF([Link].p,
[Link][getgenv().AimPart].Position)

--// Making it work \\--


[Link] = [Link]:Lerp(Main,
getgenv().SmoothnessAmount, getgenv().EasingStyle , [Link])
else
[Link] = CF([Link].p,
[Link][getgenv().AimPart].Position)
end
end
end
end
end
end
if getgenv().UnlockOnDeath == true and AimlockTarget and
[Link]:FindFirstChild("Humanoid") then
if [Link]['K.O'] then
AimlockTarget = nil

if getgenv().Notifications == true then


Notify({
Title = "[Link]",
Description = "Unlocked",
Duration = 1
})
end
if getgenv().ChatNotis == true then
[Link]:FireServer("Un
locked","All")
end
end
end

if getgenv().Shake == true and AimlockTarget and


[Link] then
local Main = CF([Link].p,
[Link][getgenv().AimPart].Position +
[Link][getgenv().AimPart].Velocity/PredictionVelocity +
[Link](
[Link](-getgenv().ShakePower, getgenv().ShakePower),
[Link](-getgenv().ShakePower, getgenv().ShakePower),
[Link](-getgenv().ShakePower, getgenv().ShakePower)
) * 0.1)
[Link] = [Link]:Lerp(Main,
getgenv().SmoothnessAmount, getgenv().EasingStyle , [Link])
end

if getgenv().AutoPrediction == true then


pingvalue = game:GetService("Stats").[Link]["Data
Ping"]:GetValueString()
split = [Link](pingvalue,'(')
ping = tonumber(split[1])
if ping < 30 then
getgenv().PredictionVelocity = 7.758
elseif ping < 40 then
getgenv().PredictionVelocity = 7.364
elseif ping < 50 then
getgenv().PredictionVelocity = 7.456
elseif ping < 60 then
getgenv().PredictionVelocity = 7.217
elseif ping < 70 then
getgenv().PredictionVelocity = 6.972
elseif ping < 80 then
getgenv().PredictionVelocity = 6.782
elseif ping < 90 then
getgenv().PredictionVelocity = 6.597
elseif ping < 100 then
getgenv().PredictionVelocity = 3.88
elseif ping < 110 then
getgenv().PredictionVelocity = 6.099
end
end

end)

local aimlockSection = AimingTab:CreateSector("Aimlock", "left") --you can change


the section code, for example "aimlockSection" can be changed to "FunnyCoolSection"
etc.
local aimassistSection = AimingTab:CreateSector("Aim Assist", "Right") --you can
change the section code, for example "aimlockSection" can be changed to
"FunnyCoolSection" etc.

aimlockSection:AddToggle("Enable", false, function(ale)


getgenv().AimlockEnabled = ale
end)
aimlockSection:AddButton("Lock Tool", function(IhateGayPeople)
getgenv().keytoclick = "Q"
tool = [Link]("Tool")
[Link] = false
[Link] = "CamlockTool"
[Link]:connect(function()
if AimlockEnabled then
Target = not Target
--
if AimlockTarget then
AimlockTarget = nil
MousePressed = false
if getgenv().Notifications then
Notifications("Unlocked")
end
else
if AimlockTarget == nil then
local Target;Target = GetNearestTarget()
if Target ~= nil then
AimlockTarget = Target
if getgenv().Notifications then
notifications:BuildNotificationUI();
Notifications("Locked Onto"..tostring(Aimlock));
end
MousePressed = true
end
end
end
end
end)
[Link] = [Link]
wait(0.2)
end)
aimlockSection:AddTextbox("Prediction", "7.72", function(int)
getgenv().PredictionVelocity = int
notifications:BuildNotificationUI();
Notifications("Prediction Changed To: "..tostring(int));
end)
aimlockSection:AddToggle("Ping Based", false, function(pba)
getgenv().AutoPrediction = pba
end)
aimlockSection:AddDropdown("Hitpart", {"HumanoidRootPart", "UpperTorso",
"LowerTorso", "Head"}, "HumanoidRootPart", false, function(dropdown)
getgenv().AimPart = dropdown
end)
aimlockSection:AddToggle("Notifications", false, function(n)
getgenv().Notifications = n
end)
aimlockSection:AddToggle("Shake", false, function(shake)
getgenv().Shake = shake
end)
aimlockSection:AddSlider("Shake Power", 0, 1, 5, 1, function(int)
getgenv().ShakePower = int * 2
end)
aimlockSection:AddToggle("Smoothness", false, function(sm)
getgenv().Smoothness = sm
end)
aimlockSection:AddTextbox("Smoothness Power", nil, function(int)
getgenv().SmoothnessAmount = int
notifications:BuildNotificationUI();
Notifications("Smoothness Power Changed To: "..tostring(int));
end)

aimassistSection:AddToggle("Enable", false, function(first)


[Link] = first
end)
aimassistSection:AddDropdown("Mode", {"Target Aim", "Silent Aim"}, "Target Aim",
false, function(dropdown)
[Link] = dropdown
end)
aimassistSection:AddButton("Lock Tool", function(IhateGayPeople)
getgenv().keytoclick = "Q"
tool = [Link]("Tool")
[Link] = false
[Link] = "AimAssist Tool"
[Link]:connect(function()
if [Link] then
[Link] = not [Link]
--
if [Link] == true then
[Link] = Lock:GetClosestPlayer()

-- target ui
if [Link] then
[Link] = "@"..tostring([Link])
gui.TextLabel_2.Text = [Link]
[Link]:Connect(function()
gui.TextLabel_1.Text = "Health:
"..tostring([Link])
end)

local player = [Link]

local userId = [Link]


local thumbType = [Link]
local thumbSize = [Link].Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId,
thumbType, thumbSize)

local imageLabel = [Link]


[Link] = content
[Link] = [Link](0, 75,0, 75)
[Link] = true
end
-- target ui

if ([Link] == true) then


if [Link] == "Target Aim" then
notifications:BuildNotificationUI();
Notifications("Locked onto: "..
[Link]);
wait(1) print([Link])
else
notifications:BuildNotificationUI();
Notifications("Silent Aim Enabled");
end
else
end
--
if [Link] then
[Link] = [Link]
end
else
if [Link] then
[Link] = false
end
[Link] = false
[Link] = false
[Link] = false
[Link] = [Link]
[Link] = true
--
if ([Link] == true) then
if [Link] == "Target Aim" then
notifications:BuildNotificationUI();
Notifications("Unlocked");
else
notifications:BuildNotificationUI();
Notifications("Silent Aim Disabled");
end
end
end
end
end)
[Link] = [Link]
wait(0.2)
end)
aimassistSection:AddToggle("Resolver", false, function(first)
[Link] = first
end)
aimassistSection:AddTextbox("Prediction", nil, function(State)
[Link] = State
end)
aimassistSection:AddToggle("Notifications", false, function(first)
[Link] = first
end)
aimassistSection:AddToggle("Ping Based", false, function(first)
[Link] = first
end)
aimassistSection:AddToggle("Air Prediction", false, function(first)
[Link] = first
end)
aimassistSection:AddDropdown("Hitpart", {"HumanoidRootPart", "UpperTorso",
"LowerTorso", "Head"}, "HumanoidRootPart", false, function(dropdown)
[Link] = dropdown
end)
aimassistSection:AddToggle("Look At", false, function(first)
[Link] = first
end)
aimassistSection:AddToggle("View At", false, function(first)
[Link] = first
end)

local aimbotVisuals = VisualsTab:CreateSector("Aimbot", "left") --you can change


the section code, for example "aimbotVisuals" can be changed to "FunnyCoolSection"
etc.
local ColorToggle = aimbotVisuals:AddToggle("Fake Hitbox", false, function(e)
[Link] = e
end)

ColorToggle:AddColorpicker([Link](255,0,255), function(ztx)
[Link] = ztx
end)
aimbotVisuals:AddDropdown("Hitbox Material", {"ForceField", "Neon", "Glass"},
"ForceField", false, function(dropdown)
[Link] = dropdown
end)
aimbotVisuals:AddSlider("Hitbox Size", 0, 4, 15, 1, function(State)
[Link].X = State
[Link].Y = State
[Link].Z = State
end)
local highlightToggle = aimbotVisuals:AddToggle("Highlight", false, function(e)
[Link] = e
end)

highlightToggle:AddColorpicker([Link](255,0,255), function(ztx)
getgenv().fillcolor = ztx
end)
highlightToggle:AddColorpicker([Link](0,0,0), function(ztx)
getgenv().outlinecolor = ztx
end)

local dotToggle = aimbotVisuals:AddToggle("Dot", false, function(e)


[Link] = e
end)

dotToggle:AddColorpicker([Link](255,0,255), function(ztx)
[Link] = ztx
end)
local tracerToggle = aimbotVisuals:AddToggle("Tracer", false, function(e)
[Link][1] = e
end)

tracerToggle:AddColorpicker([Link](255,0,255), function(ztx)
[Link] = ztx
end)

aimbotVisuals:AddDropdown("Tracer Origin", {"Head", "Mouse", "Gun"}, "Gun", true,


function(dropdown)
[Link][2] = dropdown
end)
getgenv().CFMULTIPLIER = 1
local miscCharacter = MiscTab:CreateSector("Character", "left") --you can change
the section code, for example "aimbotVisuals" can be changed to "FunnyCoolSection"
etc.
miscCharacter:AddToggle("CFrame", false, function(state)
if state then
getgenv().cfrene = not getgenv().cfrene
if getgenv().cfrene == true then
repeat
[Link] =
[Link] +
[Link] * CFMULTIPLIER
game:GetService("RunService").Stepped:wait()
until getgenv().cfrene == false
end
end
end)

[Link]:Connect(function(FPS)
if [Link] and [Link] ~=
NewVector2(viewportSize.X/2, viewportSize.Y/2 + offset) then
[Link] = NewVector2(viewportSize.X/2, viewportSize.Y/2
+ offset)
end
--
if [Link] and [Link] and
Lock:GetPlayerStatus([Link]) then
if [Link] == "Silent Aim" then
[Link] = Lock:GetClosestPlayer()
end
--
if [Link] and [Link] then
[Link] = Lock:GetPlayerStatus([Link])
[Link] = [Link] and
Lock:CalculateAbsolutePosition([Link]) or
[Link]

--ELEGANT WORK ON THIS, DONT DO ANYTHING ELSE!


if [Link] then
local pingvalue = game:GetService("Stats").[Link]["Data
Ping"]:GetValueString()
local split = [Link](pingvalue,'(')
local ping = tonumber(split[1])
--[[ elegants
if ping < 100 then
[Link] = 0.141987
elseif ping < 80 then
[Link] = 0.139340
elseif ping < 70 then
[Link] = 0.12533
elseif ping < 65 then
[Link] = 0.1264236
elseif ping < 50 then
[Link] = 0.13544
elseif ping < 30 then
[Link] = 0.11252476

--[[ louls
if ping < 30 then
[Link] = 0.1099
elseif
ping < 35 then
[Link] = 0.2294
elseif
ping < 40 then
[Link] = 0.1195
elseif
ping < 45 then
[Link] = 0.1207
elseif
ping < 50 then
[Link] = 0.1219
elseif
ping < 55 then
[Link] = 0.1228
elseif
ping < 60 then
[Link] = 0.1237
elseif
ping < 65 then
[Link] = 0.1264
elseif
ping < 70 then
[Link] = 0.1291
elseif
ping < 75 then
[Link] = 0.1314
elseif
ping < 80 then
[Link] = 0.1337

elseif
ping < 85 then
[Link] =
0.1343
elseif
ping < 90 then
[Link]
= 0.1349
elseif
ping < 95 then

[Link] = 0.1363
elseif
ping < 100 then

[Link] = 0.1378
elseif
ping < 105 then

[Link] = 0.1418
elseif
ping < 110
then

[Link] = 0.1459
]]

-- sosa
sets

if ping <
10 then

[Link] = 0.1112873
elseif ping
< 20 then

[Link] = 0.1211928
elseif ping
< 30 then

[Link] = 0.1254263
elseif ping
< 40 then

[Link] = 0.1314356
elseif ping
< 50 then

[Link] = 0.1368384
elseif ping
< 60 then

[Link] = 0.12671983
elseif ping
< 70 then

[Link] = 0.12862974
elseif ping
< 80 then

[Link] = 0.13581963
elseif ping
< 90 then

[Link] = 0.13873952
elseif ping
< 100 then

[Link] = 0.14173456
elseif ping
< 110 then

[Link] = 0.14362652
elseif ping
< 120 then

[Link] = 0.14683943
elseif ping
< 130 then

[Link] = 0.15175864
elseif ping
< 140 then

[Link] = 0.15382643
elseif ping
< 150 then

[Link] = 0.15873582
end
end

if
Lock.Target_Strafe[1] then

[Link] += Lock.Target_Strafe[2]

[Link] =

[Link]
*
NewAngle(0, Rad([Link]), 0)
*
NewCFrame(0, Lock.Target_Strafe[4], Lock.Target_Strafe[3])
end
--
if [Link]
then

[Link] = false
local
NearestPos = [Link]([Link],
[Link]([Link].X,
[Link].Y,
[Link].Z))

[Link]:SetPrimaryPartCFrame(NearestPos)
end
--
if
[Link] then
local
Position1, OnScreen = Camera:WorldToViewportPoint([Link])
local
MousePosition = NewVector2(viewportSize.X/2, viewportSize.Y/2 +
game:GetService("GuiService"):GetGuiInset().Y)
local Magn
= (MousePosition - NewVector2(Position1.X, Position1.Y)).Magnitude
--
if
[Link] then

[Link] = NewVector2(viewportSize.X/2, viewportSize.Y/2 +


game:GetService("GuiService"):GetGuiInset().Y)
if
(Magn >= [Link]) then [Link] = false end
end
--
if
[Link] == true then

[Link] = NewCFrame([Link])

[Link] = NewVector3([Link].X, [Link].Y,


[Link].Z)
else

[Link] = NewCFrame(999,9999,999)
end
--
if OnScreen
then
if
[Link][1] then

[Link] = true
--
if
Lock:GetTracerOrigin([Link][2]) ~= nil then

local Position2, OnScreen = Lock:GetTracerOrigin([Link][2])

--

if Position2 then

[Link] = [Link](Position2.X, Position2.Y)

end
end
[Link] = [Link](Position1.X, Position1.Y)
end
--
if
[Link] then

[Link] = true

[Link] = NewVector2(Position1.X, Position1.Y)


else

[Link] = false
end
--
if
[Link] and Lock.Target_Strafe[1] then

[Link] = true

[Link] = [Link]
end
else

[Link] = false

[Link] = false

[Link] = false
end
end
end
end
end)

if not LPH_OBFUSCATED then

getfenv().LPH_NO_VIRTUALIZE = function(f) return f end;


end
local Old
Old =
hookmetamethod(game, "__index", LPH_NO_VIRTUALIZE(function(self, k)
if
(self:IsA("Mouse") and (k == "Hit" or k == "Target")) and [Link] and
[Link] then
local Part =
[Link] or "HumanoidRootPart"
if
[Link] == true and [Link]
== [Link] then
SilentArg =
[Link]["LeftFoot"].Position + ([Link] *
[Link])
else
SilentArg =
[Link][Part].Position + ([Link] *
[Link])
end

[Link] = SilentArg
--
if
[Link] == true then
return (k
== "Hit" and NewCFrame(SilentArg))
end
end
return Old(self, k)

end))

You might also like