Yingyang005

Rock fruit

Dec 17th, 2024
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. -- Script utilisant OrionLib pour la création de l'interface utilisateur
  2. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  3.  
  4. local NameMap = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
  5.  
  6. -- Configuration principale
  7. getgenv().Config = {
  8. Webhook = {
  9. ["Link Webhook"] = "nil"
  10. }
  11. }
  12.  
  13. local FreeAccessory = {}
  14. local Tool = {}
  15. local AllMob = {}
  16.  
  17. -- Fonction pour téléporter
  18. local function TP(cframe)
  19. pcall(function()
  20. local character = game.Players.LocalPlayer.Character
  21. if character and character.PrimaryPart then
  22. character:SetPrimaryPartCFrame(cframe)
  23. end
  24. end)
  25. end
  26.  
  27. -- Collecte des données pour l'interface
  28. for _, v in pairs(workspace.Mob:GetChildren()) do
  29. if v:IsA("Model") then
  30. table.insert(AllMob, v.Name)
  31. end
  32. end
  33.  
  34. for _, v in pairs(game.ReplicatedStorage.Tools.Weapon:GetChildren()) do
  35. if v:IsA("Folder") then
  36. table.insert(Tool, v.Name)
  37. end
  38. end
  39.  
  40. -- Création de la fenêtre principale
  41. local Window = OrionLib:MakeWindow({
  42. Name = "SSS Hub | "..NameMap,
  43. HidePremium = false,
  44. SaveConfig = true,
  45. ConfigFolder = "SSSHub"
  46. })
  47.  
  48. -- Onglets
  49. local AutoFarmTab = Window:MakeTab({
  50. Name = "Auto Farm",
  51. Icon = "rbxassetid://4483345998",
  52. PremiumOnly = false
  53. })
  54.  
  55. local StatsTab = Window:MakeTab({
  56. Name = "Stats",
  57. Icon = "rbxassetid://4483345998",
  58. PremiumOnly = false
  59. })
  60.  
  61. -- Sections et fonctionnalités
  62. AutoFarmTab:AddDropdown({
  63. Name = "Select Monster",
  64. Default = "Bacon",
  65. Options = AllMob,
  66. Callback = function(Value)
  67. _G.Monster = Value
  68. end
  69. })
  70.  
  71. AutoFarmTab:AddToggle({
  72. Name = "Auto Farm",
  73. Default = false,
  74. Callback = function(Value)
  75. _G.AutoFarm = Value
  76. end
  77. })
  78.  
  79. AutoFarmTab:AddDropdown({
  80. Name = "Select Weapon",
  81. Default = "Melee",
  82. Options = Tool,
  83. Callback = function(Value)
  84. _G.Weapon = Value
  85. end
  86. })
  87.  
  88. StatsTab:AddSlider({
  89. Name = "Points Up",
  90. Min = 100,
  91. Max = 10001,
  92. Default = 100,
  93. Callback = function(Value)
  94. _G.Points = Value
  95. end
  96. })
  97.  
  98. StatsTab:AddToggle({
  99. Name = "Auto UpStats Melee",
  100. Default = false,
  101. Callback = function(Value)
  102. _G.AutoMelee = Value
  103. end
  104. })
  105.  
  106. -- Fonction pour attaquer
  107. local function Attack()
  108. game:GetService'VirtualUser':CaptureController()
  109. game:GetService'VirtualUser':Button1Down(Vector2.new(1280, 672), game:GetService("Workspace").Camera.CFrame)
  110. end
  111.  
  112. -- Auto Farm Logic
  113. spawn(function()
  114. while wait() do
  115. if _G.AutoFarm then
  116. for _, v in pairs(workspace.Mob:GetChildren()) do
  117. if v:IsA("Model") and v.Name == _G.Monster and v:FindFirstChild("HumanoidRootPart") then
  118. repeat wait()
  119. TP(v.HumanoidRootPart.CFrame)
  120. Attack()
  121. until v.Humanoid.Health <= 0 or not _G.AutoFarm
  122. end
  123. end
  124. end
  125. end
  126. end)
  127.  
  128. -- Fin du script OrionLib
  129. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment