iOSdeveloper

Untitled

Jan 2nd, 2025
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. local players = game:GetService("Players")
  2. local teams = game:GetService("Teams")
  3. local player = players.LocalPlayer
  4. local redzlib = loadstring(game:HttpGet("https://raw.githubusercontent.com/realredz/RedzLibV5/refs/heads/main/Source.lua"))()
  5. -- ^^^^^^^^^^^^
  6. local Window = redzlib:MakeWindow({
  7. Title = "redz Hub : Blox Fruits",
  8. SubTitle = "by redz9999",
  9. SaveFolder = "testando | redz lib v5.lua"
  10. })
  11.  
  12. Window:AddMinimizeButton({
  13. Button = { Image = "rbxassetid://122413984562434", BackgroundTransparency = 0 },
  14. Corner = { CornerRadius = UDim.new(0, 6) },
  15. })
  16.  
  17. local Tab1 = Window:MakeTab({"Discord", "Info"})
  18. local Tab2 = Window:MakeTab({"Auto Things", "Home"})
  19. local Tab3 = Window:MakeTab({"Skills", "Sword"})
  20. local Tab4 = Window:MakeTab({"Flow And Style", "Signal"})
  21. local Tab5 = Window:MakeTab({"Items", "Locate"})
  22. local Tab6 = Window:MakeTab({"Misc", "Settings"})
  23.  
  24. local Section = Tab6:AddSection({"Themes"})
  25.  
  26. Tab6:AddButton({"Dark Theme", function()
  27. redzlib:SetTheme("Dark")
  28. end})
  29.  
  30. Tab6:AddButton({"Darker Theme", function()
  31. redzlib:SetTheme("Darker")
  32. end})
  33.  
  34. Tab6:AddButton({"Dark Purple", function()
  35. redzlib:SetTheme("Purple")
  36. end})
  37.  
  38. Window:SelectTab(Tab2)
  39. local Section = Tab2:AddSection({"Auto Farm"})
  40.  
  41. local isAutoGoalEnabled = false
  42.  
  43. local function AutoGoal()
  44. local character = player.Character or player.CharacterAdded:Wait()
  45. if character:FindFirstChild("Football") then
  46. wait(3)
  47.  
  48. local teleporting = true
  49.  
  50. while teleporting do
  51. if not character:FindFirstChild("Football") then
  52. wait(3)
  53. return
  54. end
  55.  
  56. if player.Team.Name == "Away" then
  57. character:SetPrimaryPartCFrame(workspace.Goals.Away.CFrame)
  58. elseif player.Team.Name == "Home" then
  59. character:SetPrimaryPartCFrame(workspace.Goals.Home.CFrame)
  60. print("Home Team = Away Goal")
  61. end
  62.  
  63. wait(0.1)
  64. end
  65.  
  66. local args = {
  67. [1] = 30,
  68. [4] = Vector3.new(0, 0, 0)
  69. }
  70.  
  71. replicated_storage.Packages.Knit.Services.BallService.RE.Shoot:FireServer()
  72.  
  73. teleporting = false
  74. wait(2)
  75. end
  76. end
  77.  
  78. local Toggle1 = Tab2:AddToggle({
  79. Name = "Auto Goal",
  80. Description = "Automatically goes to the goal when you have the football.",
  81. Default = false,
  82. Callback = function(value)
  83. isAutoGoalEnabled = value
  84. if isAutoGoalEnabled then
  85. while isAutoGoalEnabled do
  86. AutoGoal()
  87. wait(0.1) -- Prevents the loop from running too fast
  88. end
  89. end
  90. end
  91. })
  92.  
  93. local isAutoBallEnabled = false
  94.  
  95. local function trackFootball()
  96. while true do
  97. local football = workspace:FindFirstChild("Football")
  98. if football then
  99. if character:FindFirstChild("Football") then
  100. break
  101. end
  102.  
  103. character:SetPrimaryPartCFrame(football.CFrame * CFrame.new(0, 0, 0))
  104. else
  105. print("Football is not in workspace anymore")
  106. end
  107.  
  108. wait(0.1)
  109. end
  110. end
  111.  
  112. local Toggle1 = Tab2:AddToggle({
  113. Name = "Auto Goal",
  114. Description = "Automatically goes to the goal when you have the football.",
  115. Default = false,
  116. Callback = function(value)
  117. isAutoGoalEnabled = value
  118. if isAutoBallEnabled then
  119. while isAutoBallEnabled do
  120. trackFootball()
  121. wait(0.1) -- Prevents the loop from running too fast
  122. end
  123. end
  124. end
  125. })
Advertisement
Add Comment
Please, Sign In to add comment