Advertisement
MrScripter2

Nebula.vip Beta Build v0.0.1

Nov 6th, 2024 (edited)
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.29 KB | None | 0 0
  1. if NEBULA_EXECUTED then
  2.   return warn("Nebula.vip Is Already Open Please Rejoin Inorder To ReExecute")
  3. end
  4.  
  5. local Aimbot = loadstring(game:HttpGet("https://raw.githubusercontent.com/Exunys/Aimbot-V3/main/src/Aimbot.lua"))()
  6.  
  7. loadstring(game:HttpGet('https://raw.githubusercontent.com/drillygzzly/Roblox-UI-Libs/main/Yun%20V2%20Lib/Yun%20V2%20Lib%20Source.lua'))()
  8.  
  9. local Library = initLibrary()
  10. local Window = Library:Load({name = "Nebula.vip", sizeX = 512, sizeY = 420, color = Color3.fromRGB(25, 255, 255)})
  11.  
  12. local Tab = Window:Tab("Main")
  13. local Tab2 = Window:Tab("Visuals")
  14. local Tab3 = Window:Tab("Misc")
  15. local Tab4 = Window:Tab("Config")
  16.  
  17. local Mainsec1 = Tab:Section{name = "Aimbot", column = 1}
  18. local Mainsec2 = Tab:Section{name = "Other Aim settings", column = 2}
  19. local Visualssec1 = Tab2:Section{name = "Wall Hacks", column = 1}
  20.  
  21. if game.PlaceId == 17625359962 then
  22.    Mainsec2:Toggle {
  23.     Name = "Enabled",
  24.     flag = "ooolol",
  25.     callback = function(bool)
  26.     for _, weapon in pairs(game:GetService("ReplicatedStorage").Weapons:GetChildren()) do
  27.     if weapon:FindFirstChild("Spread") then
  28.         for _, v in pairs(weapon:FindFirstChild("Spread"):GetChildren()) do
  29.             v.Value = 0.5
  30.         end          
  31.     end
  32. end
  33.     end
  34. }
  35. end
  36.  
  37. Mainsec1:Toggle {
  38.     Name = "Enable Aimbot",
  39.     flag = "ooolol",
  40.     callback = function(bool)
  41.     Aimbot.Settings.Enabled = bool
  42.     end
  43. }
  44.  
  45. Mainsec1:dropdown {
  46.     name = "Hitbox Select",
  47.     content = {"Head", "Torso", "HumanoidRootPart", "Right Arm", "Left Arm"},
  48.     multichoice = false,
  49.     callback = function(bool)
  50.     Aimbot.Settings.LockPart = bool
  51.     end
  52.     }
  53.  
  54. Mainsec1:Toggle {
  55.     Name = "Team Check",
  56.     flag = "ooolol",
  57.     callback = function(bool)
  58.     Aimbot.Settings.TeamCheck = bool
  59.     end
  60. }
  61.  
  62. Mainsec1:Toggle {
  63.     Name = "Alive Check",
  64.     flag = "ooolol",
  65.     callback = function(bool)
  66.     Aimbot.Settings.AliveCheck = bool
  67.     end
  68. }
  69.  
  70. Visualssec1:Toggle {
  71.     Name = "Box ESP",
  72.     flag = "ooolol",
  73.     callback = function(bool)
  74.     -- Preview: https://cdn.discordapp.com/attachments/796378086446333984/818089455897542687/unknown.png
  75. -- Made by Blissful#4992
  76. local Settings = {
  77.     Box_Color = Color3.fromRGB(255, 0, 0),
  78.     Box_Thickness = 1,
  79. }
  80. local Team_Check = {
  81.     TeamCheck = true, -- if TeamColor is on this won't matter...
  82.     Green = Color3.fromRGB(0, 255, 0),
  83.     Red = Color3.fromRGB(255, 0, 0)
  84. }
  85. local TeamColor = false
  86.  
  87. --// SEPARATION
  88. local player = game:GetService("Players").LocalPlayer
  89. local camera = game:GetService("Workspace").CurrentCamera
  90. local mouse = player:GetMouse()
  91.  
  92. local function NewQuad(thickness, color)
  93.     local quad = Drawing.new("Quad")
  94.     quad.Visible = false
  95.     quad.PointA = Vector2.new(0,0)
  96.     quad.PointB = Vector2.new(0,0)
  97.     quad.PointC = Vector2.new(0,0)
  98.     quad.PointD = Vector2.new(0,0)
  99.     quad.Color = color
  100.     quad.Filled = false
  101.     quad.Thickness = thickness
  102.     quad.Transparency = 1
  103.     return quad
  104. end
  105.  
  106. local function NewLine(thickness, color)
  107.     local line = Drawing.new("Line")
  108.     line.Visible = false
  109.     line.From = Vector2.new(0, 0)
  110.     line.To = Vector2.new(0, 0)
  111.     line.Color = color
  112.     line.Thickness = thickness
  113.     line.Transparency = 1
  114.     return line
  115. end
  116.  
  117. local function Visibility(state, lib)
  118.     for u, x in pairs(lib) do
  119.         x.Visible = state
  120.     end
  121. end
  122.  
  123. local function ToColor3(col) --Function to convert, just cuz c;
  124.     local r = col.r --Red value
  125.     local g = col.g --Green value
  126.     local b = col.b --Blue value
  127.     return Color3.new(r,g,b); --Color3 datatype, made of the RGB inputs
  128. end
  129.  
  130. local black = Color3.fromRGB(0, 0 ,0)
  131. local function ESP(plr)
  132.     local library = {
  133.         --//Box and Black Box(black border)
  134.         black = NewQuad(Settings.Box_Thickness*2, black),
  135.         box = NewQuad(Settings.Box_Thickness, Settings.Box_Color),
  136.         --//Bar and Green Health Bar (part that moves up/down)
  137.         healthbar = NewLine(3, black),
  138.         greenhealth = NewLine(1.5, black)
  139.     }
  140.  
  141.     local function Colorize(color)
  142.         for u, x in pairs(library) do
  143.             if x ~= library.healthbar and x ~= library.greenhealth and x ~= library.black then
  144.                 x.Color = color
  145.             end
  146.         end
  147.     end
  148.  
  149.     local function Updater()
  150.         local connection
  151.         connection = game:GetService("RunService").RenderStepped:Connect(function()
  152.             if plr.Character ~= nil and plr.Character:FindFirstChild("Humanoid") ~= nil and plr.Character:FindFirstChild("HumanoidRootPart") ~= nil and plr.Character.Humanoid.Health > 0 and plr.Character:FindFirstChild("Head") ~= nil then
  153.                 local HumPos, OnScreen = camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
  154.                 if OnScreen then
  155.                     local head = camera:WorldToViewportPoint(plr.Character.Head.Position)
  156.                     local DistanceY = math.clamp((Vector2.new(head.X, head.Y) - Vector2.new(HumPos.X, HumPos.Y)).magnitude, 2, math.huge)
  157.                    
  158.                     local function Size(item)
  159.                         item.PointA = Vector2.new(HumPos.X + DistanceY, HumPos.Y - DistanceY*2)
  160.                         item.PointB = Vector2.new(HumPos.X - DistanceY, HumPos.Y - DistanceY*2)
  161.                         item.PointC = Vector2.new(HumPos.X - DistanceY, HumPos.Y + DistanceY*2)
  162.                         item.PointD = Vector2.new(HumPos.X + DistanceY, HumPos.Y + DistanceY*2)
  163.                     end
  164.                     Size(library.box)
  165.                     Size(library.black)
  166.  
  167.                     --// Health Bar
  168.                     local d = (Vector2.new(HumPos.X - DistanceY, HumPos.Y - DistanceY*2) - Vector2.new(HumPos.X - DistanceY, HumPos.Y + DistanceY*2)).magnitude
  169.                     local healthoffset = plr.Character.Humanoid.Health/plr.Character.Humanoid.MaxHealth * d
  170.  
  171.                     library.greenhealth.From = Vector2.new(HumPos.X - DistanceY - 4, HumPos.Y + DistanceY*2)
  172.                     library.greenhealth.To = Vector2.new(HumPos.X - DistanceY - 4, HumPos.Y + DistanceY*2 - healthoffset)
  173.  
  174.                     library.healthbar.From = Vector2.new(HumPos.X - DistanceY - 4, HumPos.Y + DistanceY*2)
  175.                     library.healthbar.To = Vector2.new(HumPos.X - DistanceY - 4, HumPos.Y - DistanceY*2)
  176.  
  177.                     local green = Color3.fromRGB(0, 255, 0)
  178.                     local red = Color3.fromRGB(255, 0, 0)
  179.  
  180.                     library.greenhealth.Color = red:lerp(green, plr.Character.Humanoid.Health/plr.Character.Humanoid.MaxHealth);
  181.  
  182.                     if Team_Check.TeamCheck then
  183.                         if plr.TeamColor == player.TeamColor then
  184.                             Colorize(Team_Check.Green)
  185.                         else
  186.                             Colorize(Team_Check.Red)
  187.                         end
  188.                     else
  189.                         library.box.Color = Settings.Box_Color
  190.                     end
  191.                     if TeamColor == true then
  192.                         Colorize(plr.TeamColor.Color)
  193.                     end
  194.                     Visibility(true, library)
  195.                 else
  196.                     Visibility(false, library)
  197.                 end
  198.             else
  199.                 Visibility(false, library)
  200.                 if game.Players:FindFirstChild(plr.Name) == nil then
  201.                     connection:Disconnect()
  202.                 end
  203.             end
  204.         end)
  205.     end
  206.     coroutine.wrap(Updater)()
  207. end
  208.  
  209. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  210.     if v.Name ~= player.Name then
  211.         coroutine.wrap(ESP)(v)
  212.     end
  213. end
  214.  
  215. game.Players.PlayerAdded:Connect(function(newplr)
  216.     if newplr.Name ~= player.Name then
  217.         coroutine.wrap(ESP)(newplr)
  218.     end
  219. end)
  220.     end
  221. }
  222.  
  223. Visualssec1:Toggle {
  224.     Name = "OOF Arrows",
  225.     flag = "ooolol",
  226.     callback = function(bool)
  227.     local DistFromCenter = 120
  228. local TriangleHeight = 16
  229. local TriangleWidth = 16
  230. local TriangleFilled = true
  231. local TriangleTransparency = 0
  232. local TriangleThickness = 1
  233. local TriangleColor = Color3.fromRGB(255, 255, 255)
  234. local AntiAliasing = false
  235.  
  236. ----------------------------------------------------------------
  237.  
  238. local Players = game:service("Players")
  239. local Player = Players.LocalPlayer
  240. local Camera = workspace.CurrentCamera
  241. local RS = game:service("RunService")
  242.  
  243. local V3 = Vector3.new
  244. local V2 = Vector2.new
  245. local CF = CFrame.new
  246. local COS = math.cos
  247. local SIN = math.sin
  248. local RAD = math.rad
  249. local DRAWING = Drawing.new
  250. local CWRAP = coroutine.wrap
  251. local ROUND = math.round
  252.  
  253. local function GetRelative(pos, char)
  254.     if not char then return V2(0,0) end
  255.  
  256.     local rootP = char.PrimaryPart.Position
  257.     local camP = Camera.CFrame.Position
  258.     local relative = CF(V3(rootP.X, camP.Y, rootP.Z), camP):PointToObjectSpace(pos)
  259.  
  260.     return V2(relative.X, relative.Z)
  261. end
  262.  
  263. local function RelativeToCenter(v)
  264.     return Camera.ViewportSize/2 - v
  265. end
  266.  
  267. local function RotateVect(v, a)
  268.     a = RAD(a)
  269.     local x = v.x * COS(a) - v.y * SIN(a)
  270.     local y = v.x * SIN(a) + v.y * COS(a)
  271.  
  272.     return V2(x, y)
  273. end
  274.  
  275. local function DrawTriangle(color)
  276.     local l = DRAWING("Triangle")
  277.     l.Visible = false
  278.     l.Color = color
  279.     l.Filled = TriangleFilled
  280.     l.Thickness = TriangleThickness
  281.     l.Transparency = 1-TriangleTransparency
  282.     return l
  283. end
  284.  
  285. local function AntiA(v)
  286.     if (not AntiAliasing) then return v end
  287.     return V2(ROUND(v.x), ROUND(v.y))
  288. end
  289.  
  290. local function ShowArrow(PLAYER)
  291.     local Arrow = DrawTriangle(TriangleColor)
  292.  
  293.     local function Update()
  294.         local c ; c = RS.RenderStepped:Connect(function()
  295.             if PLAYER and PLAYER.Character then
  296.                 local CHAR = PLAYER.Character
  297.                 local HUM = CHAR:FindFirstChildOfClass("Humanoid")
  298.  
  299.                 if HUM and CHAR.PrimaryPart ~= nil and HUM.Health > 0 then
  300.                     local _,vis = Camera:WorldToViewportPoint(CHAR.PrimaryPart.Position)
  301.                     if vis == false then
  302.                         local rel = GetRelative(CHAR.PrimaryPart.Position, Player.Character)
  303.                         local direction = rel.unit
  304.  
  305.                         local base  = direction * DistFromCenter
  306.                         local sideLength = TriangleWidth/2
  307.                         local baseL = base + RotateVect(direction, 90) * sideLength
  308.                         local baseR = base + RotateVect(direction, -90) * sideLength
  309.  
  310.                         local tip = direction * (DistFromCenter + TriangleHeight)
  311.                        
  312.                         Arrow.PointA = AntiA(RelativeToCenter(baseL))
  313.                         Arrow.PointB = AntiA(RelativeToCenter(baseR))
  314.  
  315.                         Arrow.PointC = AntiA(RelativeToCenter(tip))
  316.  
  317.                         Arrow.Visible = true
  318.  
  319.                     else Arrow.Visible = false end
  320.                 else Arrow.Visible = false end
  321.             else
  322.                 Arrow.Visible = false
  323.  
  324.                 if not PLAYER or not PLAYER.Parent then
  325.                     Arrow:Remove()
  326.                     c:Disconnect()
  327.                 end
  328.             end
  329.         end)
  330.     end
  331.  
  332.     CWRAP(Update)()
  333. end
  334.  
  335. for _,v in pairs(Players:GetChildren()) do
  336.     if v.Name ~= Player.Name then
  337.         ShowArrow(v)
  338.     end
  339. end
  340.  
  341. Players.PlayerAdded:Connect(function(v)
  342.     if v.Name ~= Player.Name then
  343.         ShowArrow(v)
  344.     end
  345. end)
  346.     end
  347. }
  348.  
  349. Mainsec1:Toggle {
  350.     Name = "Wall Check",
  351.     flag = "ooolol",
  352.     callback = function(bool)
  353.     Aimbot.Settings.WallCheck = bool
  354.     end
  355. }
  356.  
  357. Mainsec1:Toggle {
  358.     Name = "Aimbot FOV",
  359.     flag = "ooolol",
  360.     callback = function(bool)
  361.     Aimbot.FOVSettings.Enabled = bool
  362.     end
  363. }
  364.  
  365. Mainsec1:Slider {
  366.     Name = "Aimbot FOV",
  367.     Default = 1,
  368.     Min = 0,
  369.     Max = 360,
  370.     Decimals = 1,
  371.     Flag = "MOOOOOO",
  372.     callback = function(Value)
  373.     Aimbot.FOVSettings.Radius = Value
  374.     end
  375.     }
  376.  
  377. Mainsec1:Toggle {
  378.     Name = "Rainbow FOV",
  379.     flag = "ooolol",
  380.     callback = function(bool)
  381.     Aimbot.FOVSettings.RainbowOutlineColor = bool
  382.     end
  383. }
  384.  
  385. Mainsec1:Slider {
  386.     Name = "Smoothing",
  387.     Default = 0.5,
  388.     Min = 1,
  389.     Max = 30,
  390.     Decimals = 1,
  391.     Flag = "moooooo",
  392.     callback = function(Value)
  393.     Aimbot.Settings.Sensitivity2 = Value
  394.     end
  395.     }
  396.  
  397.   Aimbot.Settings = {
  398.     Enabled = true,
  399.  
  400.     TeamCheck = true,
  401.     AliveCheck = true,
  402.     WallCheck = true,
  403.  
  404.     OffsetToMoveDirection = false, -- Prediction
  405.     OffsetIncrement = 15, -- Min: 1; Max: 30 -- Amplitude
  406.  
  407.     Sensitivity = 0, -- Animation length (in seconds) before fully locking onto target / CFrame Sensitivity
  408.     Sensitivity2 = 3.5, -- mousemoverel Sensitivity
  409.  
  410.     LockMode = 2, -- 1 = CFrame; 2 = mousemoverel
  411.     LockPart = "Head, Torso, HumanoidRootPart, Right Arm, Left Arm", -- Body part to lock on
  412.  
  413.     TriggerKey = Enum.UserInputType.MouseButton2,
  414.     Toggle = false
  415. }
  416.  
  417. Aimbot.FOVSettings = {
  418.     Enabled = true,
  419.     Visible = true,
  420.  
  421.     Radius = 90,
  422.     NumSides = 60,
  423.  
  424.     Thickness = 1,
  425.     Transparency = 1,
  426.     Filled = false,
  427.  
  428.     RainbowColor = false,
  429.     RainbowOutlineColor = false,
  430.     Color = Color3.fromRGB(255, 255, 255),
  431.     OutlineColor = Color3.fromRGB(0, 0, 0),
  432.     LockedColor = Color3.fromRGB(255, 150, 150)
  433. }
  434.  
  435.   Aimbot.Load()
  436.  
  437.     getgenv().NEBULA_EXECUTED = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement