Yingyang005

Test

Dec 9th, 2024 (edited)
1,348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
  2.  
  3. local Window = OrionLib:MakeWindow({
  4. Name = "YINHUB V3[FREE]",
  5. HidePremium = false,
  6. SaveConfig = true,
  7. ConfigFolder = "OrionConfigs"
  8. })
  9.  
  10. local MainTab = Window:MakeTab({
  11. Name = "💵|Farm",
  12. Icon = "",
  13. PremiumOnly = false
  14. })
  15. -- Fonction pour téléporter le joueur aux objets et activer ProximityPrompt
  16. local itemsToCollect = {"Souls", "Money", "Essence"}
  17. local currentIndex = 1
  18.  
  19. local function teleportToNextItem()
  20. local player = game:GetService("Players").LocalPlayer
  21. local character = player.Character or player.CharacterAdded:Wait()
  22. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  23.  
  24. if humanoidRootPart then
  25. local itemName = itemsToCollect[currentIndex]
  26. local obj = workspace:FindFirstChild(itemName)
  27.  
  28. if obj and obj:IsA("Part") then
  29. local proximityPrompt = obj:FindFirstChildOfClass("ProximityPrompt")
  30. if proximityPrompt then
  31. proximityPrompt.HoldDuration = 0 -- Changer HoldDuration à 0
  32. humanoidRootPart.CFrame = obj.CFrame
  33. fireproximityprompt(proximityPrompt) -- Active le ProximityPrompt
  34. wait(0) -- Attendre un court instant pour activer le ProximityPrompt
  35. else
  36. print("ProximityPrompt non trouvé :", obj.Name)
  37. end
  38. else
  39. print("Objet non trouvé ou non valide :", itemName)
  40. end
  41.  
  42. -- Passer à l'objet suivant
  43. currentIndex = currentIndex % #itemsToCollect + 1
  44. else
  45. print("HumanoidRootPart non trouvé")
  46. end
  47. end
  48.  
  49. -- Détecter si la touche "E" est maintenue
  50. local userInputService = game:GetService("UserInputService")
  51. local keepCollecting = false
  52.  
  53. userInputService.InputBegan:Connect(function(input, gameProcessed)
  54. if input.KeyCode == Enum.KeyCode.E and not gameProcessed then
  55. keepCollecting = true
  56. while keepCollecting do
  57. teleportToNextItem()
  58. wait(0) -- Intervalle de collecte légèrement augmenté
  59. end
  60. end
  61. end)
  62.  
  63. userInputService.InputEnded:Connect(function(input, gameProcessed)
  64. if input.KeyCode == Enum.KeyCode.E and not gameProcessed then
  65. keepCollecting = false
  66. end
  67. end)
  68.  
  69. -- Bouton pour activer la collecte automatique
  70. MainTab:AddButton({
  71. Name = "💰|Auto Collect",
  72. Callback = function()
  73. keepCollecting = not keepCollecting -- Alterne l'état de la collecte automatique
  74.  
  75. if keepCollecting then
  76. print("Collecte automatique activée")
  77. while keepCollecting do
  78. teleportToNextItem()
  79. wait(0) -- Intervalle de collecte légèrement augmenté
  80. end
  81. else
  82. print("Collecte automatique désactivée")
  83. end
  84. end
  85. })
  86. -- Fonction pour téléporter le joueur au boss et utiliser les compétences
  87. local bossesToTeleport = {
  88. {name = "Rukia", coords = Vector3.new(-284.779541, 940.927673, 3086.729)},
  89. {name = "Aizen", coords = Vector3.new(-284.779541, 940.927673, 3086.729)},
  90. {name = "Byakuya", coords = Vector3.new(-284.779541, 940.927673, 3086.729)},
  91. {name = "Gremmy", coords = Vector3.new(-284.779541, 940.927673, 3086.729)},
  92. {name = "Yamamoto", coords = Vector3.new(-284.779541, 940.927673, 3086.729)},
  93. {name = "Ichigo", coords = Vector3.new(-284.779541, 940.927673, 3086.729)}
  94. }
  95.  
  96. local function teleportPlayerToBoss()
  97. local player = game:GetService("Players").LocalPlayer
  98. local character = player.Character or player.CharacterAdded:Wait()
  99. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  100.  
  101. if humanoidRootPart then
  102. for _, boss in ipairs(bossesToTeleport) do
  103. local bossName = boss.name
  104. local bossCoords = boss.coords
  105. humanoidRootPart.CFrame = CFrame.new(bossCoords) * CFrame.new(0, 0, -5) -- Se téléporter à 5 unités derrière le boss pour éviter le chevauchement
  106. print("Joueur téléporté au boss :", bossName)
  107.  
  108. -- Utiliser toutes les compétences dans l'inventaire du joueur
  109. local backpack = player.Backpack
  110. for _, tool in ipairs(backpack:GetChildren()) do
  111. if tool:IsA("Tool") then
  112. tool:Activate()
  113. print("Compétence utilisée :", tool.Name)
  114. end
  115. end
  116. end
  117. else
  118. print("HumanoidRootPart non trouvé")
  119. end
  120. end
  121.  
  122. -- Bouton pour activer le système de téléportation au boss
  123. MainTab:AddButton({
  124. Name = "👹|Teleport to Boss",
  125. Callback = function()
  126. print("Téléportation au boss activée")
  127. teleportPlayerToBoss()
  128. end
  129. })
  130.  
  131. local infiniteHealth = false
  132.  
  133. local function infiniteHealthFunc()
  134. while infiniteHealth do
  135. local player = game.Players.LocalPlayer
  136. local character = player.Character or player.CharacterAdded:Wait()
  137. local humanoid = character:FindFirstChildOfClass("Humanoid")
  138.  
  139. if humanoid and humanoid.Health < humanoid.MaxHealth then
  140. humanoid.Health = humanoid.MaxHealth
  141. end
  142.  
  143. wait(0.1)
  144. end
  145. end
  146.  
  147. MainTab:AddToggle({
  148. Name = "🛡|Inf Health",
  149. Default = false,
  150. Callback = function(value)
  151. infiniteHealth = value
  152. if infiniteHealth then
  153. spawn(infiniteHealthFunc)
  154. end
  155. end
  156. })
  157.  
  158. local spamSwordSlash = false
  159.  
  160. local function spamSwordSlash1()
  161. while spamSwordSlash do
  162. local player = game.Players.LocalPlayer
  163. local args = {
  164. [1] = player.Character.Animations.isPlaying,
  165. [2] = 100000
  166. }
  167. game:GetService("ReplicatedStorage").Attacks.Ichigo.Events.SwordSlash1:FireServer(unpack(args))
  168. wait(0)
  169. end
  170. end
  171.  
  172. MainTab:AddToggle({
  173. Name = "🗡|Spam SwordSlash",
  174. Default = false,
  175. Callback = function(value)
  176. spamSwordSlash = value
  177. if spamSwordSlash then
  178. spawn(spamSwordSlash1)
  179. end
  180. end
  181. })
  182.  
  183. local autoRebirth = false
  184.  
  185. local spamSkill = false
  186.  
  187. local function spamSkillFunc()
  188. while spamSkill do
  189. local player = game.Players.LocalPlayer
  190. local args = {
  191. [1] = player.Character.Animations.isPlaying,
  192. [2] = 6000,
  193. [3] = "IchigoShikaiLast",
  194. [4] = 14
  195. }
  196.  
  197. game:GetService("ReplicatedStorage").Attacks.Kenpachi.Events.LastAttack:FireServer(unpack(args))
  198. wait(0)
  199. end
  200. end
  201.  
  202. MainTab:AddToggle({
  203. Name = "🔫|Spam Skills",
  204. Default = false,
  205. Callback = function(value)
  206. spamSkill = value
  207. if spamSkill then
  208. spawn(spamSkillFunc)
  209. end
  210. end
  211. })
  212.  
  213. local equipBlackHole = false
  214.  
  215. local function equipBlackHoleFunc()
  216. while equipBlackHole do
  217. print("Équiper le skill Trou Noir")
  218. local equipArgs = {
  219. [1] = game:GetService("Players").LocalPlayer.PlayerGui.AizenShikaiUI.Frame.List.Third
  220. }
  221. game:GetService("ReplicatedStorage").PNJ.Aizen.Shikai.equipEvent:FireServer(unpack(equipArgs))
  222.  
  223. local attackArgs = {
  224. [1] = game.Players.LocalPlayer.Character.Animations.isPlaying,
  225. [2] = 250000,
  226. [3] = "IchigoShikaiLast",
  227. [4] = 5
  228. }
  229. game:GetService("ReplicatedStorage").Attacks.Kenpachi.Events.LastAttack:FireServer(unpack(attackArgs))
  230. wait(5)
  231. end
  232. end
  233.  
  234. MainTab:AddToggle({
  235. Name = "💣|Black Hole Skill",
  236. Default = false,
  237. Callback = function(value)
  238. equipBlackHole = value
  239. if equipBlackHole then
  240. spawn(equipBlackHoleFunc)
  241. end
  242. end
  243. })
  244.  
Advertisement
Add Comment
Please, Sign In to add comment