Advertisement
1zxyuuki

Untitled

Feb 9th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. setfpscap(math.huge)
  2.  
  3. local repo = 'https://raw.githubusercontent.com/xyzYuuki/LinoriaLib/main/'
  4.  
  5. local Library = loadstring(game:HttpGet(repo .. 'Library.lua'))()
  6. local ThemeManager = loadstring(game:HttpGet(repo .. 'addons/ThemeManager.lua'))()
  7. local SaveManager = loadstring(game:HttpGet(repo .. 'addons/SaveManager.lua'))()
  8.  
  9. --[[Library:Notify("Loading...")
  10.  
  11. repeat
  12. task.wait(math.random(1, 3))
  13. until game:IsLoaded()]]
  14.  
  15. local Window = Library:CreateWindow({
  16.  
  17.  
  18. Title = 'Yuki Hub | Dev.xyz | .gg/U8QWcNhkES',
  19. Center = true,
  20. AutoShow = true,
  21. TabPadding = 8,
  22. MenuFadeTime = 0.2,
  23. Size = UDim2.new(0.35, 0, 0.478, 0),
  24. })
  25.  
  26.  
  27. local Tabs = {
  28.  
  29. Main = Window:AddTab('Main'),
  30. ['UI Settings'] = Window:AddTab('UI Settings'),
  31. }
  32.  
  33.  
  34.  
  35. local AutoFarm = Tabs.Main:AddLeftGroupbox('Auto Farms')
  36.  
  37. AutoFarm:AddToggle('AutoSpin', {
  38. Text = 'Auto Spin',
  39. Default = false,
  40. Callback = function(bool)
  41. getgenv().AutoSpin = bool
  42. end,
  43. })
  44.  
  45. function exec()
  46. while wait() do
  47. if getgenv().AutoSpin then
  48. pcall(function()
  49. local Event = game:GetService("Players").xyzYuuki.PlayerGui.Window.Summon.Frame.Frame.Frame1["x 50 | Summon x1"].TextButton.LocalScript.RemoteEvent
  50. Event:FireServer()
  51. end)
  52. end
  53. end
  54. end
  55.  
  56. spawn(exec)
  57.  
  58.  
  59.  
  60. AutoFarm:AddToggle('AutoUnit', {
  61. Text = 'AutoUnit',
  62. Default = false, -- Default value (true / false)
  63. Callback = function(state)
  64. if state then
  65. _G.godmode2 = true
  66. while _G.godmode2 do
  67. local args = {
  68. [1] = "Yami",
  69. [2] = CFrame.new(-224.8807373046875, 22.399499893188477, 36.37224578857422, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  70. }
  71.  
  72. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("PlaceTower"):FireServer(unpack(args))
  73. wait(0.1)
  74. end
  75. else
  76. _G.godmode2 = false
  77. while _G.godmode2 do
  78. local args = {
  79. [1] = "Yami",
  80. [2] = CFrame.new(-224.8807373046875, 22.399499893188477, 36.37224578857422, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  81. }
  82.  
  83. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("PlaceTower"):FireServer(unpack(args))
  84. wait(0.1)
  85. end
  86. end
  87. end
  88. })
  89.  
  90.  
  91. AutoFarm:AddToggle('AutoReplay', {
  92. Text = 'Auto Replay',
  93. Default = false,
  94. Callback = function(bool)
  95. getgenv().AutoMeditate = bool
  96. end,
  97. })
  98.  
  99. function exec()
  100. while wait() do
  101. if getgenv().AutoMeditate then
  102. pcall(function()
  103. local A_1 = game:GetService("Players").LocalPlayer
  104. local Event = game:GetService("Players").LocalPlayer.PlayerGui.Win.Frame1.Frame1.Frame1.Replay.TextButton.LocalScript.RemoteEvent
  105. Event:FireServer(A_1)
  106. end)
  107. end
  108. end
  109. end
  110.  
  111. spawn(exec)
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135. -- UI Settings
  136. local MenuGroup = Tabs['UI Settings']:AddLeftGroupbox('Menu')
  137.  
  138. -- I set NoUI so it does not show up in the keybinds menu
  139. MenuGroup:AddButton('Unload', function() Library:Unload() end)
  140. MenuGroup:AddLabel('Menu bind'):AddKeyPicker('MenuKeybind', { Default = 'Space', NoUI = true, Text = 'Menu keybind' })
  141.  
  142. Library.ToggleKeybind = Options.MenuKeybind -- Allows you to have a custom keybind for the menu
  143.  
  144. -- Addons:
  145. -- SaveManager (Allows you to have a configuration system)
  146. -- ThemeManager (Allows you to have a menu theme system)
  147.  
  148. -- Hand the library over to our managers
  149. ThemeManager:SetLibrary(Library)
  150. SaveManager:SetLibrary(Library)
  151.  
  152. -- Ignore keys that are used by ThemeManager.
  153. -- (we dont want configs to save themes, do we?)
  154. SaveManager:IgnoreThemeSettings()
  155.  
  156. -- Adds our MenuKeybind to the ignore list
  157. -- (do you want each config to have a different menu key? probably not.)
  158. SaveManager:SetIgnoreIndexes({ 'MenuKeybind' })
  159.  
  160. -- use case for doing it this way:
  161. -- a script hub could have themes in a global folder
  162. -- and game configs in a separate folder per game
  163. ThemeManager:SetFolder('Multiverse')
  164. SaveManager:SetFolder('Multiverse/specific-game')
  165.  
  166. -- Builds our config menu on the right side of our tab
  167. SaveManager:BuildConfigSection(Tabs['UI Settings'])
  168.  
  169. -- Builds our theme menu (with plenty of built in themes) on the left side
  170. -- NOTE: you can also call ThemeManager:ApplyToGroupbox to add it to a specific groupbox
  171. ThemeManager:ApplyToTab(Tabs['UI Settings'])
  172.  
  173. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  174. -- which has been marked to be one that auto loads!
  175. SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement