Ameno__GodOH

jjkagafixed

Sep 14th, 2024 (edited)
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.37 KB | None | 0 0
  1. -- Função para verificar se algo é nulo
  2. function isnil(thing)
  3. return (thing == nil)
  4. end
  5.  
  6. -- Função para arredondar números
  7. local function round(n)
  8. return math.floor(tonumber(n) + 0.5)
  9. end
  10.  
  11. -- Número aleatório para diferenciar ESPs
  12. Number = math.random(1, 1000000)
  13.  
  14. -- Função para gerar uma cor arco-íris
  15. local function rainbowColor(time)
  16. local frequency = 0.5
  17. local r = math.sin(frequency * time + 0) * 127 + 128
  18. local g = math.sin(frequency * time + 2) * 127 + 128
  19. local b = math.sin(frequency * time + 4) * 127 + 128
  20. return Color3.fromRGB(r, g, b)
  21. end
  22.  
  23. -- Função que atualiza o ESP dos jogadores
  24. function UpdateEspPlayer()
  25. for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  26. pcall(function()
  27. if not isnil(v.Character) and ESPPlayer then
  28. local head = v.Character:FindFirstChild("Head")
  29. if head and not head:FindFirstChild("NameEsp" .. Number) then
  30. local bill = Instance.new("BillboardGui", head)
  31. bill.Name = "NameEsp" .. Number
  32. bill.ExtentsOffset = Vector3.new(0, 1, 0)
  33. bill.Size = UDim2.new(1, 200, 1, 30)
  34. bill.Adornee = head
  35. bill.AlwaysOnTop = true
  36.  
  37. local name = Instance.new("TextLabel", bill)
  38. name.Font = Enum.Font.Ubuntu
  39. name.TextSize = 14
  40. name.TextWrapped = true
  41. name.Size = UDim2.new(1, 0, 1, 0)
  42. name.TextYAlignment = Enum.TextYAlignment.Top
  43. name.BackgroundTransparency = 1
  44. name.TextStrokeTransparency = 0.5
  45. name.TextColor3 = rainbowColor(tick())
  46.  
  47. name.Text = string.format("%s \n%d M", v.Name,
  48. round((game.Players.LocalPlayer.Character.Head.Position - head.Position).Magnitude / 3))
  49. elseif head and head:FindFirstChild("NameEsp" .. Number) then
  50. local label = head["NameEsp" .. Number].TextLabel
  51. label.Text = string.format("%s | %d M\nHealth: %d%%",
  52. v.Name,
  53. round((game.Players.LocalPlayer.Character.Head.Position - head.Position).Magnitude / 3),
  54. round(v.Character.Humanoid.Health * 100 / v.Character.Humanoid.MaxHealth))
  55. label.TextColor3 = rainbowColor(tick())
  56. end
  57. elseif not ESPPlayer and v.Character and v.Character:FindFirstChild("Head") then
  58. local esp = v.Character.Head:FindFirstChild("NameEsp" .. Number)
  59. if esp then esp:Destroy() end
  60. end
  61. end)
  62. end
  63. end
  64.  
  65. -- Conectar a função de atualização do ESP ao loop do Heartbeat
  66. game:GetService("RunService").Heartbeat:Connect(UpdateEspPlayer)
  67.  
  68. -- Carregar a biblioteca OrionLib
  69. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  70. local Window = OrionLib:MakeWindow({Name = "KaGa HUB", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  71.  
  72. -- Criar a aba principal e a seção
  73. local Tab = Window:MakeTab({
  74. Name = "Main Tab",
  75. Icon = "rbxassetid://4483345998",
  76. PremiumOnly = false
  77. })
  78.  
  79. local Section = Tab:AddSection({
  80. Name = "Main Function"
  81. })
  82.  
  83. -- Toggle para ativar/desativar ESP
  84. Section:AddToggle({
  85. Name = "ESP",
  86. Default = false,
  87. Callback = function(Value)
  88. ESPPlayer = Value
  89. while ESPPlayer do
  90. task.wait(0.1)
  91. UpdateEspPlayer()
  92. end
  93. end
  94. })
  95.  
  96. -- Toggle para ativar o ataque "Blackflash [Vessel]"
  97. Section:AddToggle({
  98. Name = "Blackflash [Vessel]",
  99. Default = false,
  100. Callback = function(zx)
  101. _G.Mn = zx
  102. while _G.Mn do
  103. wait()
  104. local service = game:GetService("ReplicatedStorage").Knit.Knit.Services.DivergentFistService.RE
  105. service.Activated:FireServer("true") -- Blue Flash
  106. task.wait(0.32)
  107. service.Activated:FireServer("false") -- Black Flash
  108. end
  109. end
  110. })
  111.  
  112. -- Botão para ativar o ataque "Itadori Blackflash"
  113. Section:AddButton({
  114. Name = "Itadori Blackflash",
  115. Callback = function()
  116. loadstring(game:HttpGet("https://pastebin.com/raw/TEa28Tpn"))()
  117. end
  118. })
  119.  
  120. -- Botão para ativar o ataque "Gojo Blackflash"
  121. Section:AddButton({
  122. Name = "Gojo Blackflash",
  123. Callback = function()
  124. loadstring(game:HttpGet("https://pastebin.com/raw/6UseRhjf"))()
  125. end
  126. })
  127.  
  128. -- Botão para ativar o ataque "Mahito Blackflash"
  129. Section:AddButton({
  130. Name = "Mahito Blackflash",
  131. Callback = function()
  132. loadstring(game:HttpGet("https://pastebin.com/raw/c7PKTFNi"))()
  133. end
  134. })
  135.  
  136. -- Toggle para ativar/desativar "Auto Block"
  137. Section:AddToggle({
  138. Name = "Auto Block",
  139. Default = false,
  140. Callback = function(b)
  141. _G.block = b
  142. while _G.block do
  143. wait(0.1)
  144. if _G.block == true then
  145. game:GetService("ReplicatedStorage").Knit.Knit.Services.BlockService.RE.Activated:FireServer()
  146. else
  147. game:GetService("ReplicatedStorage").Knit.Knit.Services.BlockService.RE.Deactivated:FireServer()
  148. end
  149. end
  150. end
  151. })
  152.  
  153. -- Toggle para ativar/desativar "Farm Player"
  154. Section:AddToggle({
  155. Name = "Farm Player",
  156. Default = false,
  157. Callback = function(c)
  158. _G.Hit = c
  159. end
  160. })
  161.  
  162. -- Função para teleportar para o jogador mais próximo
  163. spawn(function()
  164. local RunService = game:GetService("RunService")
  165. RunService.Heartbeat:Connect(function()
  166. if _G.Hit == true then
  167. local player = game.Players.LocalPlayer
  168. local character = player.Character or player.CharacterAdded:Wait()
  169. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  170.  
  171. local function getClosestPlayer()
  172. local closestPlayer = nil
  173. local closestDistance = math.huge
  174.  
  175. for _, otherPlayer in pairs(game.Players:GetPlayers()) do
  176. if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
  177. local distance = (otherPlayer.Character.HumanoidRootPart.Position - humanoidRootPart.Position).Magnitude
  178.  
  179. if distance < closestDistance then
  180. closestDistance = distance
  181. closestPlayer = otherPlayer
  182. end
  183. end
  184. end
  185.  
  186. return closestPlayer, closestDistance
  187. end
  188.  
  189. local function teleportToClosestPlayer()
  190. local closestPlayer, closestDistance = getClosestPlayer()
  191.  
  192. if closestPlayer and closestDistance >= 1 and closestDistance <= 120 then
  193. -- Calcular a posição atrás do jogador mais próximo
  194. local targetCFrame = closestPlayer.Character.HumanoidRootPart.CFrame
  195. local offsetPosition = targetCFrame.LookVector * -2 -- Teleportar 2 studs atrás do jogador
  196. local targetPosition = targetCFrame.Position + offsetPosition
  197.  
  198. -- Teleportar para a posição atrás do jogador mais próximo
  199. humanoidRootPart.CFrame = CFrame.new(targetPosition)
  200.  
  201. print("Teleported behind the closest player at distance:", closestDistance)
  202. else
  203. print("No valid player found within the 1-120 studs range. Closest distance:", closestDistance)
  204. end
  205. end
  206.  
  207. teleportToClosestPlayer()
  208. end
  209. end)
  210. end)
  211.  
  212. -- Configuração de outras funções e scripts conforme necessário
  213. Section:AddToggle({
  214. Name = "Speed hack",
  215. Default = false,
  216. Callback = function(sas)
  217. _G.speed = sas
  218. while _G.speed do
  219. task.wait(0.00000001)
  220. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  221. end
  222. end
  223. })
  224.  
  225. -- Destruição do serviço Anti-Cheat
  226. for _,v in pairs(game:GetService("ReplicatedStorage").Knit.Knit.Services:GetChildren()) do
  227. if v.Name == "AntiCheatService" then
  228. v:Destroy()
  229. print("Deleted Anti Cheat")
  230. else
  231. print("error")
  232. end
  233. end
Advertisement
Add Comment
Please, Sign In to add comment