Freshbloodb

IQNDN67AKN1

May 15th, 2023
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.80 KB | Fixit | 0 0
  1. local repo = 'https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/'
  2.  
  3. local Library = loadstring(game:HttpGet(repo .. 'Library.lua'))()
  4. local ThemeManager = loadstring(game:HttpGet(repo .. 'addons/ThemeManager.lua'))()
  5. local SaveManager = loadstring(game:HttpGet(repo .. 'addons/SaveManager.lua'))()
  6.      
  7. local sound = Instance.new("Sound", game.Workspace)
  8. sound.SoundId = "rbxassetid://5226834046"
  9.  
  10. if not sound.IsLoaded then
  11.     sound.Loaded:wait()
  12. end
  13.  
  14. local sound1 = Instance.new("Sound", game.Workspace)
  15. sound1.SoundId = "rbxassetid://1905367471"
  16.  
  17. if not sound1.IsLoaded then
  18.     sound1.Loaded:wait()
  19. end
  20.  
  21.  
  22.  
  23. getgenv().ZyZKey = Enum.KeyCode.Q
  24. getgenv().Prediction = 1.36
  25. getgenv().Tracer = false
  26. getgenv().TracerBugged = false
  27. getgenv().LookAt = false
  28. getgenv().ZyZPart = "LowerTorso"
  29. getgenv().NotifyZyZ = false
  30. getgenv().BlindStrafe = false
  31. getgenv().ViewPlr = false
  32. getgenv().NotificationsSound = false
  33. getgenv().Enabled = false
  34. _G.AirshotFunction = false
  35. _G.AirshotPart = "LowerTorso"
  36. _G.FRAME = Vector3.new(0,20,0)
  37. _G.FRAME2 = Vector3.new(0,20,0)
  38.  
  39.  
  40. local guimain = Instance.new("Folder", game.CoreGui)
  41. local CC = game:GetService "Workspace".CurrentCamera
  42. local LocalMouse = game.Players.LocalPlayer:GetMouse()
  43. local Locking = false
  44. local cc = game:GetService("Workspace").CurrentCamera
  45. local gs = game:GetService("GuiService")
  46. local ggi = gs.GetGuiInset
  47. local lp = game:GetService("Players").LocalPlayer
  48. local mouse = lp:GetMouse()
  49.  
  50. local Tracer = Drawing.new("Line")
  51. Tracer.Visible = false
  52. Tracer.Color = Color3.fromRGB(13, 17, 214)
  53. Tracer.Thickness = 1
  54. Tracer.Transparency = 1
  55.  
  56. local UserInputService = game:GetService("UserInputService")
  57.  
  58. UserInputService.InputBegan:Connect(
  59.     function(keygo, ok)
  60.         if (not ok) then
  61.             if (keygo.KeyCode == getgenv().ZyZKey) then
  62.                 if getgenv().Enabled then
  63.                     Locking = not Locking
  64.                     if Locking then
  65.                         Plr = getClosestPlayerToCursor()
  66.                         if getgenv().ViewPlr then
  67.                             game.Workspace.CurrentCamera.CameraSubject = Plr.Character
  68.                            
  69.                         end
  70.                         if getgenv().NotificationsSound then
  71.                             sound:Play()
  72.                         end
  73.                         if getgenv().NotifyZyZ then
  74.                             Library:Notify(': ' .. Plr.Character.Humanoid.DisplayName)
  75.                         end
  76.                     elseif not Locking then
  77.                        
  78. if getgenv().ViewPlr then
  79.     game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  80. end
  81.  
  82. if getgenv().NotificationsSound then
  83.     sound1:Play()
  84. end
  85.  
  86.                         if getgenv().NotifyZyZ then
  87.                             Library:Notify('unlock')
  88.                         end
  89.                     end
  90.                 end
  91.             end
  92.         end
  93.     end
  94. )
  95. function getClosestPlayerToCursor()
  96.     local closestPlayer
  97.     local shortestDistance = 137
  98.  
  99.     for i, v in pairs(game.Players:GetPlayers()) do
  100.         if
  101.             v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and
  102.                 v.Character.Humanoid.Health ~= 0 and
  103.                 v.Character:FindFirstChild("LowerTorso")
  104.          then
  105.             local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  106.             local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(LocalMouse.X, LocalMouse.Y)).magnitude
  107.             if magnitude < shortestDistance then
  108.                 closestPlayer = v
  109.                 shortestDistance = magnitude
  110.             end
  111.         end
  112.     end
  113.     return closestPlayer
  114. end
  115.  
  116. local rawmetatable = getrawmetatable(game)
  117. local old = rawmetatable.__namecall
  118. setreadonly(rawmetatable, false)
  119. rawmetatable.__namecall =
  120.     newcclosure(
  121.     function(...)
  122.         local args = {...}
  123.         if Locking and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" then
  124.             args[3] =
  125.                 Plr.Character[getgenv().ZyZPart].Position + (Plr.Character[getgenv().ZyZPart].Velocity * Prediction / 10)
  126.             return old(unpack(args))
  127.         end
  128.         return old(...)
  129.     end
  130. )
  131.  
  132. game:GetService("RunService").RenderStepped:Connect(
  133.     function()
  134.         if getgenv().autosetup == true then
  135.             local pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  136.             local split = string.split(pingvalue, " ")
  137.             local ping = split[1]
  138.             if tonumber(ping) < 30 then
  139.                 getgenv().Prediction = 1.14
  140.             elseif tonumber(ping) <= 30 then
  141.                 if tonumber(ping) < 40 then
  142.                     getgenv().Prediction = 1.16
  143.                 elseif tonumber(ping) <= 40 then
  144.                     if tonumber(ping) < 50 then
  145.                         getgenv().Prediction = 1.19
  146.                     elseif tonumber(ping) <= 50 then
  147.                         if tonumber(ping) < 70 then
  148.                             getgenv().Prediction = 1.22
  149.                         elseif tonumber(ping) <= 80 then
  150.                             getgenv().Prediction = 1.38
  151.                         elseif tonumber(ping) <= 80 then
  152.                             getgenv().Prediction = 1.39
  153.                         elseif tonumber(ping) <= 90 then
  154.                             getgenv().Prediction = 1.42
  155.                         elseif tonumber(ping) <= 150 then
  156.                             getgenv().Prediction = 1.51
  157.                         elseif tonumber(ping) >= 200 then
  158.                             getgenv().Prediction = 1.69
  159.                         end
  160.                     end
  161.                 end
  162.             end
  163.         end
  164.        
  165.         if _G.AirshotFunction == true then
  166.             if Plr.Character.Humanoid.Jump == true and Plr.Character.Humanoid.FloorMaterial == Enum.Material.Air then
  167.                 getgenv().ZyZPart = _G.AirshotPart
  168.             else
  169.                 Plr.Character:WaitForChild("Humanoid").StateChanged:Connect(
  170.                     function(old, new)
  171.                         if new == Enum.HumanoidStateType.Freefall then
  172.                             getgenv().Partz = _G.AirshotPart
  173.                         else
  174.                             getgenv().ZyZPart = "LowerTorso"
  175.                         end
  176.                     end
  177.                 )
  178.             end
  179.         end
  180. if getgenv().BlindStrafe and Locking and getgenv().Enabled then
  181.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position + _G.FRAME)
  182.    
  183.  
  184. end
  185.  
  186. if getgenv().BlindStrafe and Locking and getgenv().Enabled then
  187.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position + _G.FRAME)
  188.    
  189.  
  190. end
  191.  
  192. if getgenv().LookAt and Locking and getgenv().Enabled then
  193.                     local Char = game.Players.LocalPlayer.Character
  194.                 local PrimaryPartOfChar = game.Players.LocalPlayer.Character.PrimaryPart
  195.                 local NearestChar = Plr.Character
  196.                 local NearestRoot = Plr.Character.HumanoidRootPart
  197.                 local NearestPos = CFrame.new(PrimaryPartOfChar.Position, Vector3.new(NearestRoot.Position.X, NearestRoot.Position.Y, NearestRoot.Position.Z))
  198.                 Char:SetPrimaryPartCFrame(NearestPos)
  199.                
  200.     end
  201.         if getgenv().Tracer == true and Locking then
  202.             local Vector, OnScreen =
  203.                 cc:worldToViewportPoint(
  204.                 Plr.Character[getgenv().ZyZPart].Position + (Plr.Character[getgenv().ZyZPart].Velocity * Prediction / 10)
  205.             )
  206.             Tracer.Visible = true
  207.             Tracer.From = Vector2.new(mouse.X, mouse.Y + ggi(gs).Y)
  208.             Tracer.To = Vector2.new(Vector.X, Vector.Y)
  209.         elseif getgenv().Tracer == false then
  210.             Tracer.Visible = false
  211.         end
  212. if Tracer.Visible == true and not Locking and getgenv().Enabled then
  213.     getgenv().TracerBugged = true
  214.     Tracer.Visible = false
  215. end
  216.  
  217. if getgenv().Tracer == true and getgenv().TracerBugged and Locking then
  218.     Tracer.Visible = true
  219. end
  220.     end)
  221.  
  222.  
  223. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/matas3535/PoopLibrary/main/Library.lua"))()
  224.  
  225.  
  226. local Window = Library:New({Name = "TAY.PASTE", Accent = Color3.fromRGB(73, 82, 82)})
  227. local Aiming = Window:Page({Name = "Aiming"})
  228. local Rage = Window:Page({Name = "Rage"})
  229. local Visuals = Window:Page({Name = "Visuals"})
  230.  
  231. local TargetBot_Main = Aiming:Section({Name = "Targetbot", Side = "Left"})
  232.  
  233. TargetBot_Main:Toggle({Name = "Enabled", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(Bool)
  234.     getgenv().Enabled = Bool
  235. end})
  236.  
  237. TargetBot_Main:Toggle({Name = "Notifications", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(Bool)
  238.     getgenv().NotifyZyZ = Bool
  239. end})
  240.  
  241. TargetBot_Main:Toggle({Name = "Notifications Sound", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(haha)
  242.     getgenv().NotificationsSound = haha
  243. end})
  244.  
  245. TargetBot_Main:Toggle({Name = "LookAt", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(Bool)
  246.     getgenv().LookAt = Bool
  247. end})
  248.  
  249. TargetBot_Main:Toggle({Name = "Spectate Mode", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(Bool)
  250.     getgenv().ViewPlr = Bool
  251. end})
  252.  
  253. TargetBot_Main:Toggle({Name = "TracerShow", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(bool)
  254.     getgenv().Tracer = bool
  255. end})
  256.  
  257. TargetBot_Main:Toggle({Name = "Airtap Func", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(bool)
  258.     _G.AirshotFunction = bool
  259. end})
  260.  
  261. TargetBot_Main:Toggle({Name = "AirStrafe", Default = false, Pointer = "TargetBotMain_Enabled", callback = function(book)
  262.     getgenv().BlindStrafe = book
  263. end})
  264.  
  265. TargetBot_Main:Slider({Name = "Prediction", Minimum = 1, Maximum = 4, Default = 1.55, Decimals = 0.1, Pointer = "Prediction"})
  266.  
  267. TargetBot_Main:Slider({Name = "Air Strafe Distance", Minimum = 1, Maximum = 40, Default = 10, Decimals = 0.1, Pointer = "Prediction", callback = function(boolean)
  268.     _G.FRAME = Vector3.new(0,boolean,0)
  269. end})
  270.  
  271. TargetBot_Main:Slider({Name = "Tracer Thickness", Minimum = 1, Maximum = 10, Default = 2, Decimals = 0.1, Pointer = "Prediction", callback = function(boolean)
  272.     Tracer.Thickness = boolean
  273. end})
  274.  
  275. TargetBot_Main:Dropdown({Name = "Aimpart", Options = {"Head", "LowerTorso", "UpperTorso"}, Default = "Head", Pointer = "AimbotExtra_Type",callback = function(bool)
  276.     getgenv().ZyZPart = bool
  277. end})
  278.  
  279. local Others_Main = Aiming:Section({Name = "Other Related Stuff", Side = "Right"})
  280.  
  281. Others_Main:Toggle({Name = "Rainbow Tracer", Default = false, Pointer = "OthersMain_Enabled"})
  282.  
  283. Others_Main:Toggle({Name = "Random Hitpart", Default = false, Pointer = "OthersMain_Enabled"})
  284.  
  285. Others_Main:Toggle({Name = "Target Stats", Default = false, Pointer = "OthersMain_Enabled"})
  286.  
  287. Others_Main:Toggle({Name = "Target Strafe", Default = false, Pointer = "OthersMain_Enabled"})
  288.  
  289. Others_Main:Slider({Name = "TargetStrafe Distance", Minimum = 1, Maximum = 40, Default = 10, Decimals = 0.1, Pointer = "Prediction"})
  290.  
  291. Others_Main:Toggle({Name = "Gun TP", Default = false, Pointer = "OthersMain_Enabled"})
  292.  
  293. local Others2_Main = Aiming:Section({Name = "Bullet-Prioritys", Side = "Right"})
  294.  
  295. Others2_Main:Toggle({Name = "Enabled", Default = false, Pointer = "OthersMain_Enabled"})
  296.  
  297. Others2_Main:Toggle({Name = "Draw Field Of View", Default = false, Pointer = "OthersMain_Enabled"})
  298.  
  299. Others2_Main:Toggle({Name = "Fill", Default = false, Pointer = "OthersMain_Enabled"})
  300.  
  301. Others2_Main:Dropdown({Name = "AimPoint", Options = {"Head", "LowerTorso", "UpperTorso"}, Default = "Head", Pointer = "AimbotExtra_Type"})
  302.  
  303. Window:Initialize()
  304.  
  305.  
  306. local Aimbot_Main = Aiming:Section({Name = "Aimbot", Side = "Left"})
  307.  
  308. Aimbot_Main:Toggle({Name = "Enabled", Default = false, Pointer = "OthersMain_Enabled"})
  309.  
  310. Aimbot_Main:Toggle({Name = "Ping Based", Default = false, Pointer = "OthersMain_Enabled"})
  311.  
  312. Aimbot_Main:Toggle({Name = "Smoothness", Default = false, Pointer = "OthersMain_Enabled"})
  313.  
  314. Aimbot_Main:Toggle({Name = "Smoothness", Default = false, Pointer = "OthersMain_Enabled"})
  315.  
  316. Aimbot_Main:Slider({Name = "Prediction", Minimum = 1, Maximum = 4, Default = 1.55, Decimals = 0.1, Pointer = "Prediction"})
  317.  
  318. Aimbot_Main:Slider({Name = "Smoothness", Minimum = 1, Maximum = 10, Default = 5, Decimals = 0.1, Pointer = "Prediction"})
  319.  
  320. Aimbot_Main:Dropdown({Name = "AimPoint", Options = {"Head", "LowerTorso", "UpperTorso"}, Default = "Head", Pointer = "AimbotExtra_Type"})
  321.  
  322. local Trigger_Main = Aiming:Section({Name = "TriggerBot", Side = "Right"})
  323.  
  324. Trigger_Main:Toggle({Name = "Enabled", Default = false, Pointer = "OthersMain_Enabled"})
Add Comment
Please, Sign In to add comment