Advertisement
Roblox_Exploiters

Rage1

Apr 19th, 2022
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1. --Rage
  2.  
  3. if not game:IsLoaded() then game.Loaded:Wait() end
  4.  
  5. local Players = game:GetService("Players")
  6. local RunService = game:GetService("RunService")
  7. local InputManager = game:GetService("VirtualInputManager")
  8. local InputService = game:GetService("UserInputService")
  9.  
  10. local Library = loadstring(game:HttpGet("https://pastebin.com/raw/edJT9EGX"))() --credits to Jan
  11.  
  12. local Client = game:GetService("Players").LocalPlayer
  13. local PlayerGui = Client:WaitForChild("PlayerGui")
  14.  
  15. local InputFolder = Client:WaitForChild("Input")
  16. local Keybinds = InputFolder:WaitForChild("Keybinds")
  17.  
  18. local KeysTable = {
  19. ["4"] = {"Up", "Down", "Left", "Right"},
  20. ["6"] = {S = "L3", D = "L2", F = "L1", J = "R1", K = "R2", L = "R3"},
  21. ["7"] = {S = "L3", D = "L2", F = "L1", Space = "Space", J = "R1", K = "R2", L = "R3"},
  22. ["9"] = {A = "L4", S = "L3", D = "L2", F = "L1", Space = "Space", H = "R1", J = "R2", K = "R3", L = "R4"}
  23. }
  24.  
  25. local Marked = {}
  26.  
  27. local Window = Library:CreateWindow("FNB Rage")
  28. local Folder = Window:AddFolder("Autoplayer")
  29.  
  30. local CreditsFolder = Window:AddFolder("Credits")
  31.  
  32. RunService.Heartbeat:Connect(function()
  33. if not Library.flags.AutoPlayer then return end
  34. if not Menu or not Menu.Parent then return end
  35. if Menu.Config.TimePast.Value <= 0 then return end
  36.  
  37. local SideMenu = Menu.Game:FindFirstChild(Menu.PlayerSide.Value)
  38. local IncomingNotes = SideMenu.Arrows.IncomingNotes
  39.  
  40. local Keys = KeysTable[tostring(#IncomingNotes:GetChildren())] or IncomingNotes:GetChildren()
  41.  
  42. for Key, Direction in pairs(Keys) do
  43. Direction = tostring(Direction)
  44.  
  45. local Holder = IncomingNotes:FindFirstChild(Direction) or IncomingNotes:FindFirstChild(Key)
  46. if not Holder then continue end
  47.  
  48. for _, Object in ipairs(Holder:GetChildren()) do
  49. if table.find(Marked, Object) then continue end
  50.  
  51. local Keybind = Keybinds:FindFirstChild(Direction) and Keybinds[Direction].Value
  52. if not Keybind then warn("Couldn't find bind!") continue end
  53.  
  54. local Start = SideMenu.Arrows:FindFirstChild(Direction) and SideMenu.Arrows[Direction].AbsolutePosition.Y or SideMenu.Arrows[Key].AbsolutePosition.Y
  55. local Current = Object.AbsolutePosition.Y
  56. local Difference = not InputFolder.Downscroll.Value and (Current - Start) or (Start - Current)
  57.  
  58. local IsHell = Object:FindFirstChild("HellNote") and Object:FindFirstChild("HellNote").Value
  59.  
  60. if Difference <= 0.35 and not IsHell then
  61. Marked[#Marked + 1] = Object
  62. InputManager:SendKeyEvent(true, Enum.KeyCode[Keybind], false, nil)
  63. repeat task.wait() until not Object or not Object:FindFirstChild("Frame") or Object.Frame.Bar.Size.Y.Scale <= 0
  64. InputManager:SendKeyEvent(false, Enum.KeyCode[Keybind], false, nil)
  65. end
  66. end
  67. end
  68. end)
  69.  
  70. PlayerGui.ChildAdded:Connect(function(Object)
  71. if Object:IsA("ScreenGui") and Object:FindFirstChild("Game") then
  72. table.clear(Marked)
  73. getgenv().Menu = Object
  74. end
  75. end)
  76.  
  77. for _, ScreenGui in ipairs(PlayerGui:GetChildren()) do
  78. if not ScreenGui:FindFirstChild("Game") then continue end
  79. getgenv().Menu = ScreenGui
  80. end
  81.  
  82. local Old; Old = hookmetamethod(game, "__newindex", newcclosure(function(self, ...)
  83. local Args = {...}
  84. local Property = Args[1]
  85.  
  86. if not Client.Character then return end
  87. local Humanoid = Client.Character:FindFirstChild("Humanoid")
  88. if not Humanoid then return end
  89.  
  90. if self == Humanoid and Property == "Health" and not checkcaller() then return end
  91.  
  92. return Old(self, ...)
  93. end))
  94.  
  95. Folder:AddToggle({text = "AutoPlayer", flag = "AutoPlayer"})
  96. Window:AddBind({text = "Menu toggle", key = Enum.KeyCode.RightControl, callback = function() Library:Close() end})
  97.  
  98. CreditsFolder:AddLabel({text = "Script: Zoinks#7514"})
  99. CreditsFolder:AddLabel({text = "Happy Hackin!"})
  100.  
  101. Window:AddButton({text = "Instant Solo", callback = function()
  102. pcall(function()
  103. PlayerGui.SingleplayerUI.ButtonPressed:FireServer()
  104. end)
  105. end})
  106.  
  107. Library:Init()
  108.  
  109. warn("Loaded script!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement