Message
Message
local notificationLibrary =
loadstring(game:HttpGet("https://raw.githubusercontent.com/laagginq/ui-libraries/
main/xaxas-notification/src.lua"))();
local notifications = notificationLibrary.new({
NotificationLifetime = 5,
NotificationPosition = "Middle",
TextFont = Enum.Font.Code,
TextColor = Color3.fromRGB(255, 255, 255),
TextSize = 15,
TextStrokeTransparency = 0,
TextStrokeColor = Color3.fromRGB(0, 0, 0)
});
local AkaliNotif =
loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/
Scripts/AkaliNotif.lua"))();
local ANotify = AkaliNotif.Notify;
function Kick(Reason)
game.Players.LocalPlayer:Kick(Reason)
end
getgenv().NotiMode = "Roblox"
function Notifications(NotiINFO)
if getgenv().NotiMode == "Roblox" then
game:GetService("StarterGui"):SetCore("SendNotification",{
Title = "nebula.tech", -- 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 = "nebula.tech";
Duration = 1;
});
else
Kick('nebula.tech | Notification Error, please contact @ finobe on
discord if this continues.')
end
end
end
end
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 Player.Character and Player.Character:FindFirstChild("Humanoid") and
Player.Character.Humanoid.Health > 0 and true or false
end
--
function Lock:GetClosestPlayer()
local shortestDistance = math.huge
--
local closestPlayer
for _, Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer and Lock:GetPlayerStatus(Player) then
local pos, OnScreen =
Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
local magnitude = (Vector2.new(pos.X, pos.Y) -
Vector2.new(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 = Drawing.new(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 = Player.Character["HumanoidRootPart"]
--
local currentPosition = root.Position
local currentTime = tick()
--
Wait()
--
local newPosition = root.Position
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 LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildWhichIsA("Tool") and Lock:GetPlayerStatus()
then
return LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
end
end
--
function Lock:GetTracerOrigin(Origin)
if Origin == "Head" then
return Camera:WorldToViewportPoint(LocalPlayer.Character.Head.Position)
RunService.RenderStepped:Connect(function()
if Lock.Locking and Lock.Visualize.Highlight then
highlight.Parent = Lock.Target.Player.Character
highlight.FillColor = getgenv().fillcolor
highlight.OutlineColor = getgenv().outlinecolor
else
highlight.Parent = game.CoreGui
end
end)
local gui =
{
targetui = Instance.new("ScreenGui"),
Frame = Instance.new("Frame"),
ImageLabel = Instance.new("ImageLabel"),
LocalScript = Instance.new("LocalScript"),
TextLabel = Instance.new("TextLabel"),
LocalScript_1 = Instance.new("LocalScript"),
Frame_1 = Instance.new("Frame"),
TextLabel_1 = Instance.new("TextLabel"),
LocalScript_2 = Instance.new("LocalScript"),
Frame_2 = Instance.new("Frame"),
TextLabel_2 = Instance.new("TextLabel"),
LocalScript_3 = Instance.new("LocalScript"),
UIGradient = Instance.new("UIGradient"),
Shadow = Instance.new("ImageLabel"),
Gradient = Instance.new("UIGradient"),
}
gui.targetui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.targetui.Name = "targetui"
gui.targetui.Parent = game:GetService("CoreGui")
gui.Frame.BorderSizePixel = 0
gui.Frame.Size = UDim2.new(0, 323, 0, 112)
gui.Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
gui.Frame.Name = "Frame"
gui.Frame.Position = UDim2.new(0.414371, 0, 0.854945, 0)
gui.Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
gui.Frame.Parent = gui.targetui
gui.LocalScript.Name = "LocalScript"
gui.LocalScript.Parent = gui.ImageLabel
gui.TextLabel.TextStrokeTransparency = 0
gui.TextLabel.BorderSizePixel = 0
gui.TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
gui.TextLabel.Font = Enum.Font.Code
gui.TextLabel.TextSize = 13
gui.TextLabel.Position = UDim2.new(0.321981, 0, 0.3125, 0)
gui.TextLabel.Size = UDim2.new(0, 200, 0, 23)
gui.TextLabel.Name = "TextLabel"
gui.TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
gui.TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
gui.TextLabel.Text = "@nil"
gui.TextLabel.BackgroundTransparency = 1
gui.TextLabel.TextXAlignment = Enum.TextXAlignment.Left
gui.TextLabel.Parent = gui.Frame
gui.LocalScript_1.Name = "LocalScript"
gui.LocalScript_1.Parent = gui.TextLabel
gui.Frame_1.BorderSizePixel = 0
gui.Frame_1.Size = UDim2.new(0, 211, 0, 22)
gui.Frame_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
gui.Frame_1.Name = "Frame"
gui.Frame_1.Position = UDim2.new(0.321981, 0, 0.625, 0)
gui.Frame_1.BackgroundColor3 = Color3.fromRGB(227, 181, 200)
gui.Frame_1.Parent = gui.Frame
gui.TextLabel_1.TextStrokeTransparency = 0
gui.TextLabel_1.BorderSizePixel = 0
gui.TextLabel_1.BackgroundColor3 = Color3.fromRGB(227, 181, 200)
gui.TextLabel_1.Font = Enum.Font.Code
gui.TextLabel_1.TextSize = 14
gui.TextLabel_1.Position = UDim2.new(0.0584566, 0, 0, 0)
gui.TextLabel_1.Size = UDim2.new(0, 185, 0, 20)
gui.TextLabel_1.Name = "TextLabel"
gui.TextLabel_1.TextColor3 = Color3.fromRGB(255, 255, 255)
gui.TextLabel_1.BorderColor3 = Color3.fromRGB(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 = UDim2.new(0, 323, 0, 2)
gui.Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
gui.Frame_2.Name = "Frame"
gui.Frame_2.BackgroundColor3 = Color3.fromRGB(227, 181, 200)
gui.Frame_2.Parent = gui.Frame
gui.TextLabel_2.TextStrokeTransparency = 0
gui.TextLabel_2.BorderSizePixel = 0
gui.TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
gui.TextLabel_2.Font = Enum.Font.Code
gui.TextLabel_2.TextSize = 18
gui.TextLabel_2.Position = UDim2.new(0.321981, 0, 4.07144, 0)
gui.TextLabel_2.Size = UDim2.new(0, 200, 0, 43)
gui.TextLabel_2.Name = "TextLabel"
gui.TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
gui.TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
gui.TextLabel_2.Text = "nil"
gui.TextLabel_2.BackgroundTransparency = 1
gui.TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
gui.TextLabel_2.Parent = gui.Frame_2
gui.LocalScript_3.Name = "LocalScript"
gui.LocalScript_3.Parent = gui.TextLabel_2
gui.UIGradient.Name = "UIGradient"
gui.UIGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0,
Color3.fromRGB(50, 50, 50)), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 170,
170)) }
gui.UIGradient.Rotation = 270
gui.UIGradient.Parent = gui.Frame
gui.Gradient.Name = "Gradient"
gui.Gradient.Rotation = 90
gui.Gradient.Parent = gui.Shadow
gui.Frame.Visible = false
for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and
v:FindFirstChild("LocalScript") then
v:Destroy()
end
end
game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
repeat
wait()
until game.Players.LocalPlayer.Character
char.ChildAdded:Connect(function(child)
if child:IsA("Script") then
wait(0.1)
if child:FindFirstChild("LocalScript") then
child.LocalScript:FireServer()
end
end
end)
end)
Player["CharacterAdded"]:connect(function(v)
repeat wait() until v and v:FindFirstChild("Humanoid")
for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and
v:FindFirstChild("LocalScript") then
v:Destroy()
end
end
game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
repeat
wait()
until game.Players.LocalPlayer.Character
char.ChildAdded:Connect(function(child)
if child:IsA("Script") then
wait(0.1)
if child:FindFirstChild("LocalScript") then
child.LocalScript: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 = Enum.EasingStyle.Elastic
getgenv().Notifications = false
getgenv().AutoPrediction = false
getgenv().UnlockOnDeath = false
getgenv().Shake = false
getgenv().ShakePower = 0
getgenv().WorldToViewportPoint = function(P)
return Camera:WorldToViewportPoint(P)
end
getgenv().WorldToScreenPoint = function(P)
return Camera.WorldToScreenPoint(Camera, P)
end
getgenv().GetObscuringObjects = function(T)
if T and T:FindFirstChild(getgenv().AimPart) and Client and
Client.Character:FindFirstChild("Head") then
local RayPos = workspace:FindPartOnRay(RNew(
T[getgenv().AimPart].Position, Client.Character.Head.Position)
)
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
table.insert(players, v)
end
end
for i, v in pairs(players) do
if v.Character ~= nil then
local AIM = v.Character:FindFirstChild("Head")
if getgenv().TeamCheck == true and v.Team ~= Client.Team then
local DISTANCE = (v.Character:FindFirstChild("Head").Position -
game.Workspace.CurrentCamera.CFrame.p).magnitude
local RAY = Ray.new(game.Workspace.CurrentCamera.CFrame.p,
(Mouse.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * DISTANCE)
local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
local DIFF = math.floor((POS - AIM.Position).magnitude)
PLAYER_HOLD[v.Name .. i] = {}
PLAYER_HOLD[v.Name .. i].dist= DISTANCE
PLAYER_HOLD[v.Name .. i].plr = v
PLAYER_HOLD[v.Name .. i].diff = DIFF
table.insert(DISTANCES, DIFF)
elseif getgenv().TeamCheck == false and v.Team == Client.Team then
local DISTANCE = (v.Character:FindFirstChild("Head").Position -
game.Workspace.CurrentCamera.CFrame.p).magnitude
local RAY = Ray.new(game.Workspace.CurrentCamera.CFrame.p,
(Mouse.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * DISTANCE)
local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
local DIFF = math.floor((POS - AIM.Position).magnitude)
PLAYER_HOLD[v.Name .. i] = {}
PLAYER_HOLD[v.Name .. i].dist= DISTANCE
PLAYER_HOLD[v.Name .. i].plr = v
PLAYER_HOLD[v.Name .. i].diff = DIFF
table.insert(DISTANCES, DIFF)
end
end
end
for i, v in pairs(PLAYER_HOLD) do
if v.diff == L_DISTANCE then
return v.plr
end
end
return nil
end
RService.RenderStepped:Connect(function()
if getgenv().ThirdPerson == true and getgenv().FirstPerson == true then
if (Camera.Focus.p - Camera.CoordinateFrame.p).Magnitude > 1 or
(Camera.Focus.p - Camera.CoordinateFrame.p).Magnitude <= 1 then
CanNotify = true
else
CanNotify = false
end
elseif getgenv().ThirdPerson == true and getgenv().FirstPerson == false then
if (Camera.Focus.p - Camera.CoordinateFrame.p).Magnitude > 1 then
CanNotify = true
else
CanNotify = false
end
elseif getgenv().ThirdPerson == false and getgenv().FirstPerson == true then
if (Camera.Focus.p - Camera.CoordinateFrame.p).Magnitude <= 1 then
CanNotify = true
else
CanNotify = false
end
end
if Aimlock == true and MousePressed == true then
if AimlockTarget and AimlockTarget.Character and
AimlockTarget.Character: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(Camera.CFrame.p,
AimlockTarget.Character[getgenv().AimPart].Position +
AimlockTarget.Character[getgenv().AimPart].Velocity/PredictionVelocity)
end)
-- target ui
if Lock.Visualize.TargetUI then
gui.TextLabel.Text = "@"..tostring(Lock.Target.Player)
gui.TextLabel_2.Text = Lock.Target.Player.DisplayName
RunService.RenderStepped:Connect(function()
gui.TextLabel_1.Text = "Health:
"..tostring(Lock.Target.Player.Character.Humanoid.Health)
end)
ColorToggle:AddColorpicker(Color3.fromRGB(255,0,255), function(ztx)
Lock.Drawings.FakeHitbox.Color = ztx
end)
aimbotVisuals:AddDropdown("Hitbox Material", {"ForceField", "Neon", "Glass"},
"ForceField", false, function(dropdown)
Lock.Drawings.FakeHitbox.Material = dropdown
end)
aimbotVisuals:AddSlider("Hitbox Size", 0, 4, 15, 1, function(State)
Lock.Visualize.X = State
Lock.Visualize.Y = State
Lock.Visualize.Z = State
end)
local highlightToggle = aimbotVisuals:AddToggle("Highlight", false, function(e)
Lock.Visualize.Highlight = e
end)
highlightToggle:AddColorpicker(Color3.fromRGB(255,0,255), function(ztx)
getgenv().fillcolor = ztx
end)
highlightToggle:AddColorpicker(Color3.fromRGB(0,0,0), function(ztx)
getgenv().outlinecolor = ztx
end)
dotToggle:AddColorpicker(Color3.fromRGB(255,0,255), function(ztx)
Lock.Drawings.Dot.Color = ztx
end)
local tracerToggle = aimbotVisuals:AddToggle("Tracer", false, function(e)
Lock.Visualize.Tracer[1] = e
end)
tracerToggle:AddColorpicker(Color3.fromRGB(255,0,255), function(ztx)
Lock.Drawings.Tracer.Color = ztx
end)
RunService.Heartbeat:Connect(function(FPS)
if Lock.Drawings.FOV.Visible and Lock.Drawings.FOV.Position ~=
NewVector2(viewportSize.X/2, viewportSize.Y/2 + offset) then
Lock.Drawings.FOV.Position = NewVector2(viewportSize.X/2, viewportSize.Y/2
+ offset)
end
--
if Lock.Locking and Lock.Target.Player and
Lock:GetPlayerStatus(Lock.Target.Player) then
if Lock.Mode == "Silent Aim" then
Lock.Target.Player = Lock:GetClosestPlayer()
end
--
if Lock.Target.Player and Lock.Target.Player.Character then
Lock.Target.Status = Lock:GetPlayerStatus(Lock.Target.Player)
Lock.Target.Velocity = Lock.Resolver and
Lock:CalculateAbsolutePosition(Lock.Target.Player) or
Lock.Target.Player.Character.HumanoidRootPart.Velocity
--[[ louls
if ping < 30 then
Lock.Target.Prediction = 0.1099
elseif
ping < 35 then
Lock.Target.Prediction = 0.2294
elseif
ping < 40 then
Lock.Target.Prediction = 0.1195
elseif
ping < 45 then
Lock.Target.Prediction = 0.1207
elseif
ping < 50 then
Lock.Target.Prediction = 0.1219
elseif
ping < 55 then
Lock.Target.Prediction = 0.1228
elseif
ping < 60 then
Lock.Target.Prediction = 0.1237
elseif
ping < 65 then
Lock.Target.Prediction = 0.1264
elseif
ping < 70 then
Lock.Target.Prediction = 0.1291
elseif
ping < 75 then
Lock.Target.Prediction = 0.1314
elseif
ping < 80 then
Lock.Target.Prediction = 0.1337
elseif
ping < 85 then
Lock.Target.Prediction =
0.1343
elseif
ping < 90 then
Lock.Target.Prediction
= 0.1349
elseif
ping < 95 then
Lock.Target.Prediction = 0.1363
elseif
ping < 100 then
Lock.Target.Prediction = 0.1378
elseif
ping < 105 then
Lock.Target.Prediction = 0.1418
elseif
ping < 110
then
Lock.Target.Prediction = 0.1459
]]
-- sosa
sets
if ping <
10 then
Lock.Target.Prediction = 0.1112873
elseif ping
< 20 then
Lock.Target.Prediction = 0.1211928
elseif ping
< 30 then
Lock.Target.Prediction = 0.1254263
elseif ping
< 40 then
Lock.Target.Prediction = 0.1314356
elseif ping
< 50 then
Lock.Target.Prediction = 0.1368384
elseif ping
< 60 then
Lock.Target.Prediction = 0.12671983
elseif ping
< 70 then
Lock.Target.Prediction = 0.12862974
elseif ping
< 80 then
Lock.Target.Prediction = 0.13581963
elseif ping
< 90 then
Lock.Target.Prediction = 0.13873952
elseif ping
< 100 then
Lock.Target.Prediction = 0.14173456
elseif ping
< 110 then
Lock.Target.Prediction = 0.14362652
elseif ping
< 120 then
Lock.Target.Prediction = 0.14683943
elseif ping
< 130 then
Lock.Target.Prediction = 0.15175864
elseif ping
< 140 then
Lock.Target.Prediction = 0.15382643
elseif ping
< 150 then
Lock.Target.Prediction = 0.15873582
end
end
if
Lock.Target_Strafe[1] then
Lock.Target.Angle += Lock.Target_Strafe[2]
LocalPlayer.Character.HumanoidRootPart.CFrame =
Lock.Target.Player.Character.HumanoidRootPart.CFrame
*
NewAngle(0, Rad(Lock.Target.Angle), 0)
*
NewCFrame(0, Lock.Target_Strafe[4], Lock.Target_Strafe[3])
end
--
if Lock.LookAt
then
LocalPlayer.Character.Humanoid.AutoRotate = false
local
NearestPos = CFrame.new(LocalPlayer.Character.PrimaryPart.Position,
Vector3.new(Lock.Target.Player.Character.HumanoidRootPart.Position.X,
LocalPlayer.Character.PrimaryPart.Position.Y,
Lock.Target.Player.Character.HumanoidRootPart.Position.Z))
LocalPlayer.Character:SetPrimaryPartCFrame(NearestPos)
end
--
if
Lock.Target.Position then
local
Position1, OnScreen = Camera:WorldToViewportPoint(Lock.Target.Position)
local
MousePosition = NewVector2(viewportSize.X/2, viewportSize.Y/2 +
game:GetService("GuiService"):GetGuiInset().Y)
local Magn
= (MousePosition - NewVector2(Position1.X, Position1.Y)).Magnitude
--
if
Lock.Drawings.FOV.Visible then
Lock.Drawings.FakeHitbox.CFrame = NewCFrame(Lock.Target.Position)
Lock.Drawings.FakeHitbox.CFrame = NewCFrame(999,9999,999)
end
--
if OnScreen
then
if
Lock.Visualize.Tracer[1] then
Lock.Drawings.Tracer.Visible = true
--
if
Lock:GetTracerOrigin(Lock.Visualize.Tracer[2]) ~= nil then
--
if Position2 then
end
end
Lock.Drawings.Tracer.To = Vector2.new(Position1.X, Position1.Y)
end
--
if
Lock.Visualize.Dot then
Lock.Drawings.Dot.Visible = true
Lock.Drawings.Dot.Visible = false
end
--
if
Lock.Visualize.Strafe and Lock.Target_Strafe[1] then
Lock.Drawings.TargetStrafeCircle.Visible = true
Lock.Drawings.TargetStrafeCircle.Position = Lock.Target.Position
end
else
Lock.Drawings.Dot.Visible = false
Lock.Drawings.Tracer.Visible = false
Lock.Drawings.TargetStrafeCircle.Visible = false
end
end
end
end
end)
Lock.Target.Position = SilentArg
--
if
Lock.Target.Status == true then
return (k
== "Hit" and NewCFrame(SilentArg))
end
end
return Old(self, k)
end))