Advertisement
asdasdsadwa

Untitled

May 4th, 2022
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.51 KB | None | 0 0
  1. local HWIDTable = loadstring(game:HttpGet("https://pastebin.com/raw/7KS3mF3H"))();
  2. local HWID = game:GetService("RbxAnalyticsService"):GetClientId()
  3. for i,v in pairs(HWIDTable) do
  4. if v == HWID then
  5. local repo = 'https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/'
  6.  
  7. local Library = loadstring(game:HttpGet(repo .. 'Library.lua'))()
  8. local ThemeManager = loadstring(game:HttpGet(repo .. 'addons/ThemeManager.lua'))()
  9. local SaveManager = loadstring(game:HttpGet(repo .. 'addons/SaveManager.lua'))()
  10.  
  11. local Window = Library:CreateWindow({
  12. -- Set Center to true if you want the menu to appear in the center
  13. -- Set AutoShow to true if you want the menu to appear when it is created
  14. -- Position and Size are also valid options here
  15. -- but you do not need to define them unless you are changing them :)
  16.  
  17. Title = 'Tay.cc',
  18. Center = true,
  19. AutoShow = true,
  20. })
  21.  
  22. -- You do not have to set your tabs & groups up this way, just a prefrence.
  23. local Tabs = {
  24. -- Creates a new tab titled Main
  25. Main = Window:AddTab('Target'),
  26. Visual = Window:AddTab('Visual'),
  27. ['UI Settings'] = Window:AddTab('UI Settings'),
  28. Misc = Window:AddTab('Misc'),
  29. Tracer = Window:AddTab('Tracer'),
  30. }
  31. -- Groupbox and Tabbox inherit the same functions
  32. -- except Tabboxes you have to call the functions on a tab (Tabbox:AddTab(name))
  33. local LeftGroupBox = Tabs.Main:AddLeftGroupbox('Target')
  34. local RightGroupBox = Tabs.Main:AddRightGroupbox('Target Settings')
  35. local RightGroupBox = Tabs.Main:AddRightGroupbox('Tracer')
  36. -- Tabboxes are a tiny bit different, but here's a basic example:
  37. --[[
  38.  
  39. local TabBox = Tabs.Main:AddLeftTabbox() -- Add Tabbox on left side
  40.  
  41. local Tab1 = TabBox:AddTab('Tab 1')
  42. local Tab2 = TabBox:AddTab('Tab 2')
  43.  
  44. -- You can now call AddToggle, etc on the tabs you added to the Tabbox
  45. ]]
  46.  
  47. -- Groupbox:AddToggle
  48. -- Arguments: Index, Options
  49.  
  50.  
  51. LeftGroupBox:AddToggle('Showdot', {
  52. Text = 'ShowBox',
  53. Default = true, -- Default value (true / false)
  54. Tooltip = 'Set', -- Information shown when you hover over the toggle
  55. });
  56.  
  57.  
  58. LeftGroupBox:AddToggle('Target', {
  59. Text = 'Target',
  60. Default = true, -- Default value (true / false)
  61. Tooltip = 'set', -- Information shown when you hover over the toggle
  62. })
  63. Toggles.Target:OnChanged(function()
  64. -- here we get our toggle object & then get its value
  65. getgenv().Target = Toggles.Target.Value
  66. end)
  67.  
  68. -- This should print to the console: "My toggle state changed! New value: false"
  69. Toggles.Target:SetValue(false)
  70.  
  71. LeftGroupBox:AddToggle('Airshot', {
  72. Text = 'Airshot',
  73. Default = true, -- Default value (true / false)
  74. Tooltip = 'set', -- Information shown when you hover over the toggle
  75. })
  76. Toggles.Airshot:OnChanged(function()
  77. -- here we get our toggle object & then get its value
  78. getgenv().AirshotFunccc = Toggles.Airshot.Value
  79. end)
  80.  
  81. -- This should print to the console: "My toggle state changed! New value: false"
  82. Toggles.Airshot:SetValue(true)
  83.  
  84.  
  85. LeftGroupBox:AddToggle('NotifMode', {
  86. Text = 'Notification',
  87. Default = true, -- Default value (true / false)
  88. })
  89.  
  90. LeftGroupBox:AddToggle('ChatMode', {
  91. Text = 'Chat Mode',
  92. Default = true, -- Default value (true / false)
  93. Tooltip = 'set', -- Information shown when you hover over the toggle
  94. })
  95. Toggles.ChatMode:OnChanged(function()
  96. -- here we get our toggle object & then get its value
  97. getgenv().ChatMode = Toggles.ChatMode.Value
  98. end)
  99.  
  100. -- This should print to the console: "My toggle state changed! New value: false"
  101. Toggles.ChatMode:SetValue(false)
  102.  
  103.  
  104.  
  105. Toggles.NotifMode:OnChanged(function()
  106. getgenv().NotifMode = Toggles.NotifMode.Value
  107. end)
  108.  
  109. -- This should print to the console: "My toggle state changed! New value: false"
  110. Toggles.NotifMode:SetValue(false)
  111.  
  112. LeftGroupBox:AddToggle('AutoPred', {
  113. Text = 'Ping Based',
  114. Default = true, -- Default value (true / false)
  115. Tooltip = 'set', -- Information shown when you hover over the toggle
  116. })
  117. Toggles.AutoPred:OnChanged(function()
  118. -- here we get our toggle object & then get its value
  119. getgenv().AutoPrediction = Toggles.AutoPred.Value
  120. end)
  121.  
  122. -- This should print to the console: "My toggle state changed! New value: false"
  123. Toggles.AutoPred:SetValue(false)
  124.  
  125. -- Groupbox:AddInput
  126. -- Arguments: Idx, Info
  127. LeftGroupBox:AddInput('Prediction', {
  128. Default = '0.1229',
  129. Numeric = false, -- true / false, only allows numbers
  130. Finished = false, -- true / false, only calls callback when you press enter
  131.  
  132. Text = 'Prediction',
  133. Tooltip = '', -- Information shown when you hover over the textbox
  134.  
  135. Placeholder = 'Enter New Pred Here', -- placeholder text when the box is empty
  136. -- MaxLength is also an option which is the max length of the text
  137. })
  138.  
  139. Options.Prediction:OnChanged(function()
  140. getgenv().Prediction = Options.Prediction.Value
  141. end)
  142.  
  143. Options.Prediction:SetValue(0.1229)
  144.  
  145. -- Groupbox:AddDropdown
  146. -- Arguments: Idx, Info
  147.  
  148. LeftGroupBox:AddDropdown('MyDropdown', {
  149. Values = { 'Head', 'UpperTorso', 'HumanoidRootPart', 'RightFoot' },
  150. Default = 1, -- number index of the value / string
  151. Multi = false, -- true / false, allows multiple choices to be selected
  152.  
  153. Text = 'Hitpart',
  154. Tooltip = 'This is a tooltip', -- Information shown when you hover over the textbox
  155. })
  156.  
  157. Options.MyDropdown:OnChanged(function()
  158. getgenv().Partz = Options.MyDropdown.Value
  159. end)
  160.  
  161. Options.MyDropdown:SetValue('UpperTorso')
  162.  
  163.  
  164. RightGroupBox:AddDivider()
  165.  
  166. -- // Target Settings -- //
  167.  
  168.  
  169. RightGroupBox:AddLabel('Hitbox Color'):AddColorPicker('ColorPicker', {
  170. Default = Color3.new(0, 1, 0), -- Bright green
  171. Title = 'Hitbox Color', -- Optional. Allows you to have a custom color picker title (when you open it)
  172. });
  173.  
  174.  
  175. RightGroupBox:AddSlider('MySlider', {
  176. Text = 'Hitbox Transparency',
  177.  
  178. -- Text, Default, Min, Max, Rounding must be specified.
  179. -- Rounding is the number of decimal places for precision.
  180.  
  181. -- Example:
  182. -- Rounding 0 - 5
  183. -- Rounding 1 - 5.1
  184. -- Rounding 2 - 5.15
  185. -- Rounding 3 - 5.155
  186.  
  187. Default = 0,
  188. Min = 0,
  189. Max = 1,
  190. Rounding = 1,
  191.  
  192. Compact = false, -- If set to true, then it will hide the label
  193. });
  194.  
  195. Options.MySlider:SetValue(0.3)
  196.  
  197. RightGroupBox:AddDivider()
  198.  
  199. RightGroupBox:AddToggle('FOVToggle', {
  200. Text = 'FOV',
  201. Default = true, -- Default value (true / false)
  202. Tooltip = '', -- Information shown when you hover over the toggle
  203. });
  204.  
  205. RightGroupBox:AddToggle('FOVFilled', {
  206. Text = 'FOV Filled',
  207. Default = false, -- Default value (true / false)
  208. Tooltip = '', -- Information shown when you hover over the toggle
  209. });
  210.  
  211. RightGroupBox:AddSlider('FOV', {
  212. Text = 'FOV Radius',
  213.  
  214. Default = 0,
  215. Min = 0,
  216. Max = 750,
  217. Rounding = 0,
  218.  
  219. Compact = false, -- If set to true, then it will hide the label
  220. });
  221.  
  222. Options.FOV:SetValue(280)
  223.  
  224. RightGroupBox:AddSlider('Thickness', {
  225. Text = 'FOV Thickness',
  226.  
  227. Default = 0,
  228. Min = 0,
  229. Max = 10,
  230. Rounding = 1,
  231.  
  232. Compact = false, -- If set to true, then it will hide the label
  233. });
  234.  
  235. Options.Thickness:SetValue(0)
  236.  
  237. RightGroupBox:AddSlider('FOVTrans', {
  238. Text = 'FOV Transparency',
  239.  
  240. -- Text, Default, Min, Max, Rounding must be specified.
  241. -- Rounding is the number of decimal places for precision.
  242.  
  243. -- Example:
  244. -- Rounding 0 - 5
  245. -- Rounding 1 - 5.1
  246. -- Rounding 2 - 5.15
  247. -- Rounding 3 - 5.155
  248.  
  249. Default = 0.8,
  250. Min = 0,
  251. Max = 1,
  252. Rounding = 1,
  253.  
  254. Compact = false, -- If set to true, then it will hide the label
  255. });
  256.  
  257.  
  258. -- Library functions
  259. -- Sets the watermark visibility
  260. Library:SetWatermarkVisibility(true)
  261.  
  262. -- Sets the watermark text
  263. Library:SetWatermark('TAY.cc')
  264.  
  265. Library.KeybindFrame.Visible = true; -- todo: add a function for this
  266.  
  267. Library:OnUnload(function()
  268. print('Unloaded!')
  269. Library.Unloaded = true
  270. end)
  271.  
  272. -- UI Settings
  273. local MenuGroup = Tabs['UI Settings']:AddLeftGroupbox('Menu')
  274.  
  275. -- I set NoUI so it does not show up in the keybinds menu
  276. MenuGroup:AddButton('Unload', function() Library:Unload() end)
  277. MenuGroup:AddLabel('Menu bind'):AddKeyPicker('MenuKeybind', { Default = 'End', NoUI = true, Text = 'Menu keybind' })
  278.  
  279. Library.ToggleKeybind = Options.MenuKeybind -- Allows you to have a custom keybind for the menu
  280.  
  281. -- Addons:
  282. -- SaveManager (Allows you to have a configuration system)
  283. -- ThemeManager (Allows you to have a menu theme system)
  284.  
  285. -- Hand the library over to our managers
  286. ThemeManager:SetLibrary(Library)
  287. SaveManager:SetLibrary(Library)
  288.  
  289. -- Ignore keys that are used by ThemeManager.
  290. -- (we dont want configs to save themes, do we?)
  291. SaveManager:IgnoreThemeSettings()
  292.  
  293. -- Adds our MenuKeybind to the ignore list
  294. -- (do you want each config to have a different menu key? probably not.)
  295. SaveManager:SetIgnoreIndexes({ 'MenuKeybind' })
  296.  
  297. -- use case for doing it this way:
  298. -- a script hub could have themes in a global folder
  299. -- and game configs in a separate folder per game
  300. ThemeManager:SetFolder('MyScriptHub')
  301. SaveManager:SetFolder('MyScriptHub/specific-game')
  302.  
  303. -- Builds our config menu on the right side of our tab
  304. SaveManager:BuildConfigSection(Tabs['UI Settings'])
  305.  
  306. -- Builds our theme menu (with plenty of built in themes) on the left side
  307. -- NOTE: you can also call ThemeManager:ApplyToGroupbox to add it to a specific groupbox
  308. ThemeManager:ApplyToTab(Tabs['UI Settings'])
  309.  
  310. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  311. -- which has been marked to be one that auto loads!
  312. --[[
  313. local RightGroupBox = Tabs.Main:AddRightGroupbox('yea')
  314. --[[
  315.  
  316.  
  317. ▀███▀▀▀██████▀ ▀███▀███▄ ▀███▀███▀ ▀██▀▀███▀▀▀██▄▀███▀ ▀██▀
  318. ██ ▀███ █ ███▄ █ ███▄ ▄█ ██ ▀██▄ ███ ▄█
  319. ██ █ ██ █ █ ███ █ ▀██▄█▀ ██ ▄██ ███ ▄█
  320. ██▀▀██ ██ █ █ ▀██▄ █ ███ ███████ ████
  321. ██ █ ██ █ █ ▀██▄█ ▄█▀▀██▄ ██ ██
  322. ██ ██▄ ▄█ █ ███ ▄█ ▀██▄ ██ ██
  323. ▄████▄ ▀██████▀▀ ▄███▄ ██ ▄██▄▄ ▄▄███▄████▄ ▄████▄
  324.  
  325.  
  326.  
  327.  
  328. ]]
  329. -- Toggle
  330. getgenv().ChatMode = false
  331. getgenv().PartMode = true
  332. getgenv().Key = Enum.KeyCode.Q
  333. --
  334.  
  335. --
  336. _G.Types = {
  337. Ball = Enum.PartType.Ball,
  338. Block = Enum.PartType.Block,
  339. Cylinder = Enum.PartType.Cylinder
  340. }
  341.  
  342. --variables
  343. local Tracer = Instance.new("Part", game.Workspace)
  344. Tracer.Name = "gay"
  345. Tracer.Anchored = true
  346. Tracer.CanCollide = false
  347. Tracer.Parent = game.Workspace
  348. Tracer.Shape = _G.Types.Block
  349. Tracer.Size = Vector3.new(7,7,7)
  350. game:GetService("RunService").RenderStepped:Connect(function()
  351. Tracer.Transparency = Options.MySlider.Value
  352. Tracer.Color = Options.ColorPicker.Value
  353. end)
  354. --
  355. local plr = game.Players.LocalPlayer
  356. local mouse = plr:GetMouse()
  357. local Runserv = game:GetService("RunService")
  358.  
  359. circle = Drawing.new("Circle")
  360. circle.Color = Color3.fromRGB(173,216,230)
  361. circle.Thickness = 5
  362. circle.NumSides = 732
  363. circle.Transparency = 0.8
  364. game:GetService("RunService").RenderStepped:Connect(function()
  365. circle.Thickness = Options.Thickness.Value
  366. circle.Radius = Options.FOV.Value
  367. circle.Visible = Toggles.FOVToggle.Value
  368. circle.Transparency = Options.FOVTrans.Value
  369. circle.Filled = Toggles.FOVFilled.Value
  370. end)
  371.  
  372. Runserv.RenderStepped:Connect(function()
  373. circle.Position = Vector2.new(mouse.X,mouse.Y+35)
  374. if getgenv().AirshotFunccc == true then
  375. if Plr ~= nil then else return; end
  376. if Plr.Character.Humanoid.Jump == true and Plr.Character.Humanoid.FloorMaterial == Enum.Material.Air then
  377. getgenv().Partz = "RightFoot"
  378. else
  379. Plr.Character:WaitForChild("Humanoid").StateChanged:Connect(function(old,new)
  380. if new == Enum.HumanoidStateType.Freefall then
  381. getgenv().Partz = "RightFoot"
  382. else
  383. getgenv().Partz = "HumanoidRootPart"
  384. end
  385. end)
  386. end
  387. end
  388. end)
  389.  
  390. local guimain = Instance.new("Folder", game.CoreGui)
  391. local CC = game:GetService"Workspace".CurrentCamera
  392. local LocalMouse = game.Players.LocalPlayer:GetMouse()
  393. local Locking = false
  394.  
  395.  
  396. --
  397. if getgenv().valiansh == true then
  398. game.StarterGui:SetCore("SendNotification", {
  399. Title = "TAY.CC",
  400. Text = "Already Loaded!",
  401. Duration = 5
  402.  
  403. })
  404. return
  405. end
  406.  
  407. getgenv().valiansh = true
  408.  
  409. local UserInputService = game:GetService("UserInputService")
  410.  
  411. UserInputService.InputBegan:Connect(function(keygo,ok)
  412. if (not ok) then
  413. if (keygo.KeyCode == getgenv().Key) then
  414. if getgenv().Target == true then
  415. Locking = not Locking
  416.  
  417. if Locking then
  418. Plr = getClosestPlayerToCursor()
  419. if getgenv().ChatMode then
  420. local A_1 = "Target: "..tostring(Plr.Character.Humanoid.DisplayName) local A_2 = "All" local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest Event:FireServer(A_1, A_2)
  421. end
  422. if getgenv().NotifMode then
  423. game.StarterGui:SetCore("SendNotification", {
  424. Title = "TAY.CC";
  425. Text = "Target: "..tostring(Plr.Character.Humanoid.DisplayName);
  426.  
  427. })
  428. end
  429. elseif not Locking then
  430. if getgenv().ChatMode then
  431. local A_1 = "Unlocked!" local A_2 = "All" local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest Event:FireServer(A_1, A_2)
  432. end
  433. if getgenv().NotifMode then
  434. game.StarterGui:SetCore("SendNotification", {
  435. Title = "TAY.CC",
  436. Text = "Unlocked",
  437. Duration = 5
  438. })
  439. elseif getgenv().Target == false then
  440. game.StarterGui:SetCore("SendNotification", {
  441. Title = "TAY.CC",
  442. Text = "Target left or died.",
  443. Duration = 5
  444.  
  445. })
  446.  
  447. end
  448.  
  449.  
  450. end end
  451. end
  452. end
  453. end)
  454.  
  455. function getClosestPlayerToCursor()
  456. local closestPlayer
  457. local shortestDistance = circle.Radius
  458.  
  459. for i, v in pairs(game.Players:GetPlayers()) do
  460. if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("LowerTorso") then
  461. local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  462. local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(LocalMouse.X, LocalMouse.Y)).magnitude
  463. if magnitude < shortestDistance then
  464. closestPlayer = v
  465. shortestDistance = magnitude
  466. end
  467. end
  468. end
  469. return closestPlayer
  470. end
  471. --
  472. if getgenv().PartMode then
  473. game:GetService"RunService".Stepped:connect(function()
  474. if Locking and Plr.Character and Plr.Character:FindFirstChild("LowerTorso") then
  475. Tracer.CFrame = CFrame.new(Plr.Character.LowerTorso.Position+(Plr.Character.LowerTorso.Velocity*Prediction))
  476. else
  477. Tracer.CFrame = CFrame.new(0, 9999, 0)
  478. end
  479. end)
  480. end
  481.  
  482.  
  483.  
  484. --
  485. local rawmetatable = getrawmetatable(game)
  486. local old = rawmetatable.__namecall
  487. setreadonly(rawmetatable, false)
  488. rawmetatable.__namecall = newcclosure(function(...)
  489. local args = {...}
  490. if Locking and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" then
  491. args[3] = Plr.Character[getgenv().Partz].Position+(Plr.Character[getgenv().Partz].Velocity*Prediction)
  492. return old(unpack(args))
  493. end
  494. return old(...)
  495. end)
  496. ---
  497. while wait() do
  498. if getgenv().AutoPrediction == true then
  499. local pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  500. local split = string.split(pingvalue,'(')
  501. local ping = tonumber(split[1])
  502. if ping < 130 then
  503. getgenv().Prediction = 0.151
  504. elseif ping < 125 then
  505. getgenv().Prediction = 0.149
  506. elseif ping < 110 then
  507. getgenv().Prediction = 0.140
  508. elseif ping < 105 then
  509. getgenv().Prediction = 0.133
  510. elseif ping < 90 then
  511. getgenv().Prediction = 0.130
  512. elseif ping < 80 then
  513. getgenv().Prediction = 0.128
  514. elseif ping < 70 then
  515. getgenv().Prediction = 0.1230
  516. elseif ping < 60 then
  517. getgenv().Prediction = 0.1229
  518. elseif ping < 50 then
  519. getgenv().Prediction = 0.1225
  520. elseif ping < 40 then
  521. getgenv().Prediction = 0.1256
  522. end
  523. end
  524. end
  525. else
  526.  
  527. end
  528. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement