Elisonpp

Beta hub

Jun 5th, 2025 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.96 KB | None | 0 0
  1. -- Funky Friday
  2. -- source by xyzz
  3. game:GetService("StarterGui"):SetCore("SendNotification", {
  4. Title = "Notification";
  5. Text = "Beta Hub Loaded";
  6. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  7. Duration = 16;
  8.  
  9.  
  10. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  11.  
  12. local gamename = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
  13.  
  14. local Window = Fluent:CreateWindow({
  15. Title = "Beta hub |",
  16. SubTitle = gamename,
  17. TabWidth = 130,
  18. Size = UDim2.fromOffset(490, 400),
  19. Acrylic = true,
  20. Theme = "Dark",
  21. MinimizeKey = Enum.KeyCode.LeftControl
  22. })
  23.  
  24. local Tabs = {
  25. Updates = Window:AddTab({ Title = "Home", Icon = "home" }),
  26. Main = Window:AddTab({ Title = "Main", Icon = "play" }),
  27. }
  28.  
  29. local Side = nil
  30.  
  31. local Toggle = Tabs.Main:AddToggle("Toggle", {
  32. Title = "Auto Player",
  33. Description = "Automatically Hit Notes",
  34. Default = false
  35. })
  36.  
  37. Toggle:OnChanged(function()
  38. if Toggle.Value then
  39. local VirtualInputManager = game:GetService("VirtualInputManager")
  40.  
  41. _G.auto = true
  42.  
  43. while _G.auto do
  44. pcall(function()
  45. local player = game:GetService("Players").LocalPlayer
  46. local ap = player.PlayerGui.GameUI.Screen.Arrows[Side].Arrows
  47.  
  48. local column0 = ap.Arrow0.InnerFrame.Column:GetChildren()
  49. local column1 = ap.Arrow1.InnerFrame.Column:GetChildren()
  50. local column2 = ap.Arrow2.InnerFrame.Column:GetChildren()
  51. local column3 = ap.Arrow3.InnerFrame.Column:GetChildren()
  52. pcall(function ()
  53. column4 = ap.Arrow4.InnerFrame.Column:GetChildren()
  54. end)
  55.  
  56. pcall(function ()
  57. column5 = ap.Arrow5.InnerFrame.Column:GetChildren()
  58. end)
  59.  
  60. pcall(function ()
  61. column6 = ap.Arrow6.InnerFrame.Column:GetChildren()
  62. end)
  63.  
  64. pcall(function ()
  65. column7 = ap.Arrow7.InnerFrame.Column:GetChildren()
  66. end)
  67.  
  68. pcall(function ()
  69. column8 = ap.Arrow8.InnerFrame.Column:GetChildren()
  70. end)
  71.  
  72. local function autoplay(children, keyCode)
  73. local frameDetected = false
  74.  
  75. for _, child in pairs(children) do
  76. if child.Position.Y.Scale < (0 + 1e-9) + _G.Delay and child.Name == "Frame" then
  77. frameDetected = true
  78. coroutine.wrap(function()
  79. VirtualInputManager:SendKeyEvent(true, keyCode, false, game)
  80.  
  81. while child.Parent do
  82. task.wait()
  83. end
  84. VirtualInputManager:SendKeyEvent(false, keyCode, false, game)
  85. end)()
  86. break
  87. end
  88. end
  89.  
  90. if not frameDetected then
  91. for _, child in pairs(children) do
  92. if child.Position.Y.Scale < 0 + _G.Delay and child.Name == "Note" then
  93. coroutine.wrap(function()
  94. VirtualInputManager:SendKeyEvent(true, keyCode, false, game)
  95.  
  96. while child.Parent do
  97. task.wait()
  98. end
  99. VirtualInputManager:SendKeyEvent(false, keyCode, false, game)
  100. end)()
  101. break
  102. end
  103. end
  104. end
  105. end
  106.  
  107. autoplay(column0, key1)
  108. autoplay(column1, key2)
  109. autoplay(column2, key3)
  110. autoplay(column3, key4)
  111. autoplay(column4, key5)
  112. autoplay(column5, key6)
  113. autoplay(column6, key7)
  114. autoplay(column7, key8)
  115. autoplay(column8, key9)
  116. end)
  117. task.wait()
  118. end
  119. else
  120. _G.auto = false
  121. end
  122. end)
  123.  
  124. Toggle:SetValue(false)
  125.  
  126.  
  127. game.GuiService.MenuOpened:Connect(function()
  128. if Toggle.Value then
  129. _G.Toggled = true
  130. Toggle:SetValue(false)
  131. end
  132. end)
  133.  
  134. game.GuiService.MenuClosed:Connect(function()
  135. if not Toggle.Value and _G.Toggled then
  136. _G.Toggled = false
  137. Toggle:SetValue(true)
  138. end
  139. end)
  140.  
  141. local Keybind = Tabs.Main:AddKeybind("Keybind", {
  142. Title = "Auto Player Keybind",
  143. Mode = "Toggle",
  144. Default = "Insert",
  145.  
  146. Callback = function(Value)
  147. if Toggle.Value then
  148. Toggle:SetValue(false)
  149. else
  150. Toggle:SetValue(true)
  151. end
  152. end,
  153. })
  154.  
  155.  
  156. Tabs.Main:AddSection("Adjustments")
  157.  
  158. local Dropdown = Tabs.Main:AddDropdown("Dropdown", {
  159. Title = "Delay Mode",
  160. Values = {"Static", "Random"},
  161. Multi = false,
  162. Default = 1,
  163. Callback = function(Value)
  164. _G.Mode = Value
  165. end
  166. })
  167.  
  168. _G.Mode = "Static"
  169.  
  170. local Slider = Tabs.Main:AddSlider("Slider", {
  171. Title = "Note ms Delay",
  172. Description = "More = Earlier",
  173. Default = 0,
  174. Min = 0.010,
  175. Max = 0.3,
  176. Rounding = 3,
  177. Callback = function(Value)
  178. pcall(function()
  179. if _G.Mode == "Static" then
  180. _G.Delay = Value
  181. local player = game.Players.LocalPlayer
  182. if player.PlayerGui.GameUI.Windows.Settings.Frame.Body.Settings.Settings.ScrollingFrame.DownScroll.Toggle.Outer.Inner.ImageColor3 == {118, 255, 105} then
  183. _G.Delay = _G.Delay - _G.Delay - _G.Delay
  184. else
  185. _G.Delay = Value
  186. end
  187. else
  188. task.spawn(function()
  189. while true do
  190. _G.Delay = math.floor(math.random() * Value * 1000) / 1000
  191. task.wait()
  192. end
  193. end)
  194.  
  195. local player = game:GetService("Players").LocalPlayer
  196. if player.PlayerGui.GameUI.Windows.Settings.Frame.Body.Settings.Settings.ScrollingFrame.DownScroll.Toggle.Outer.Inner.ImageColor3 == {118, 255, 105} then
  197. _G.Delay = _G.Delay - _G.Delay - _G.Delay
  198. else
  199. _G.Delay = math.floor(math.random() * Value * 1000) / 1000
  200. end
  201. end
  202. end)
  203. end
  204. })
  205.  
  206. loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  207.  
  208. Window:SelectTab(1)
  209.  
  210. local Timer = Tabs.Updates:AddParagraph({
  211. Title = "Time: 00:00:00",
  212. })
  213.  
  214. local st = os.time()
  215.  
  216. local function updateTimer()
  217. while true do
  218. local et = os.difftime(os.time(), st)
  219. local h = math.floor(et / 3600)
  220. local m = math.floor((et % 3600) / 60)
  221. local s = et % 60
  222. local ft = string.format("Time: %02d:%02d:%02d", h, m, s)
  223.  
  224. Timer:SetTitle(ft)
  225. task.wait(1)
  226. end
  227. end
  228.  
  229. coroutine.wrap(updateTimer)()
  230.  
  231. Tabs.Updates:AddButton({
  232. Title = "Discord Server",
  233. Description = "Copies Discord Invite Link",
  234. Callback = function()
  235. setclipboard("https://discord.gg/44PHnFKxq5")
  236. Fluent:Notify({Title = "Uni Hub", Content = "Copied Successfuly", Duration = 2})
  237. end
  238. })
  239.  
  240. Tabs.Updates:AddButton({
  241. Title = "Run Infinite Yield",
  242. Callback = function()
  243. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  244. end
  245. })
  246.  
  247. local player = game:GetService("Players").LocalPlayer
  248. local backpack = player:WaitForChild("Backpack")
  249. if backpack:FindFirstChild("Ui") then
  250. backpack:FindFirstChild("Ui"):Destroy()
  251. end
  252.  
  253. local tool = Instance.new("Tool")
  254. tool.Name = "Ui"
  255. tool.RequiresHandle = false
  256. tool.TextureId = "rbxassetid://17621757067"
  257. tool.Parent = backpack
  258.  
  259. Open = true
  260. tool.Activated:Connect(function()
  261. if Open then
  262. Window:Minimize()
  263. else
  264. Window:Minimize()
  265. end
  266. end)
  267.  
  268. local VirtualUser = game:GetService('VirtualUser')
  269. game:GetService('Players').LocalPlayer.Idled:connect(function()
  270. VirtualUser:CaptureController()
  271. VirtualUser:ClickButton2(Vector2.new())
  272. end)
  273.  
  274. local player = game:GetService("Players").LocalPlayer
  275.  
  276. function CheckSide()
  277. pcall(function ()
  278. local player = game.Players.LocalPlayer
  279. local character = player.Character
  280. local rootPart = character and character:FindFirstChild("HumanoidRootPart")
  281.  
  282. local minDistTo11 = math.huge
  283. local minDistTo21 = math.huge
  284.  
  285. for _, stage in pairs(workspace.Map.Stages:GetChildren()) do
  286. if stage:FindFirstChild("Pads") then
  287. local pads = stage.Pads
  288. local part11 = pads:FindFirstChild("11")
  289. local part21 = pads:FindFirstChild("21")
  290.  
  291. if part11 and (rootPart.Position - part11.Position).magnitude <= 5 then
  292. local distTo11 = (rootPart.Position - part11.Position).magnitude
  293. if distTo11 < minDistTo11 then
  294. minDistTo11 = distTo11
  295. end
  296. end
  297.  
  298. if part21 and (rootPart.Position - part21.Position).magnitude <= 5 then
  299. local distTo21 = (rootPart.Position - part21.Position).magnitude
  300. if distTo21 < minDistTo21 then
  301. minDistTo21 = distTo21
  302. end
  303. end
  304. end
  305. end
  306.  
  307. if minDistTo11 < minDistTo21 then
  308. Side = "Left"
  309. else
  310. Side = "Right"
  311. end
  312. end)
  313. end
  314.  
  315. while true do
  316. local player = game:GetService("Players").LocalPlayer
  317. if player.PlayerGui.GameUI.Windows.SongSelector.Visible == true then
  318. CheckSide()
  319. end
  320. pcall(function()
  321. keymap = player.PlayerGui.GameUI.Screen.Arrows[Side].Arrows
  322. key1 = Enum.KeyCode[keymap["Arrow0"].InnerFrame["0"].Keybind.Text]
  323. key2 = Enum.KeyCode[keymap["Arrow1"].InnerFrame["1"].Keybind.Text]
  324. key3 = Enum.KeyCode[keymap["Arrow2"].InnerFrame["2"].Keybind.Text]
  325. key4 = Enum.KeyCode[keymap["Arrow3"].InnerFrame["3"].Keybind.Text]
  326. key5 = Enum.KeyCode[keymap["Arrow4"].InnerFrame["4"].Keybind.Text]
  327. key6 = Enum.KeyCode[keymap["Arrow5"].InnerFrame["5"].Keybind.Text]
  328. key7 = Enum.KeyCode[keymap["Arrow6"].InnerFrame["6"].Keybind.Text]
  329. key8 = Enum.KeyCode[keymap["Arrow7"].InnerFrame["7"].Keybind.Text]
  330. key9 = Enum.KeyCode[keymap["Arrow8"].InnerFrame["8"].Keybind.Text]
  331. end)
  332. task.wait()
  333. end
Advertisement
Add Comment
Please, Sign In to add comment