Hunai_awea15

hunai hack

Apr 13th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.55 KB | None | 0 0
  1. -- Made by geodude#2619
  2. -- Thanks lolcat, kardin!
  3. if game.PlaceId ~= 6839171747 or game.ReplicatedStorage.GameData.Floor.Value ~= "Rooms" then
  4. game.StarterGui:SetCore("SendNotification", { Title = "Invalid Place"; Text = "The game detected appears to not be rooms. Please execute this while in rooms!" })
  5. local Sound = Instance.new("Sound")
  6. Sound.Parent = game.SoundService
  7. Sound.SoundId = "rbxassetid://550209561"
  8. Sound.Volume = 5
  9. Sound.PlayOnRemove = true
  10. Sound:Destroy()
  11.  
  12. return
  13. elseif workspace:FindFirstChild("PathFindPartsFolder") then
  14. game.StarterGui:SetCore("SendNotification", { Title = "Warning"; Text = "If you are having issues and the bot is broken, please contact me! geodude#2619" })
  15.  
  16. local Sound = Instance.new("Sound")
  17. Sound.Parent = game.SoundService
  18. Sound.SoundId = "rbxassetid://550209561"
  19. Sound.Volume = 5
  20. Sound.PlayOnRemove = true
  21. Sound:Destroy()
  22. return
  23. end
  24. local PathfindingService = game:GetService("PathfindingService")
  25. local VirtualInputManager = game:GetService('VirtualInputManager')
  26. local LocalPlayer = game.Players.LocalPlayer
  27. local LatestRoom = game.ReplicatedStorage.GameData.LatestRoom
  28. local Cooldown = false
  29. local ScreenGui = Instance.new("ScreenGui")
  30. ScreenGui.Parent = game.CoreGui
  31. local TextLabel = Instance.new("TextLabel")
  32. TextLabel.Parent = ScreenGui
  33. TextLabel.Size = UDim2.new(0,350,0,100)
  34. TextLabel.TextSize = 48
  35. TextLabel.TextStrokeColor3 = Color3.new(1,1,1)
  36. TextLabel.TextStrokeTransparency = 0
  37. TextLabel.BackgroundTransparency = 1
  38. local GC = getconnections or get_signal_cons
  39. if GC then
  40. for i,v in pairs(GC(LocalPlayer.Idled)) do
  41. if v["Disable"] then
  42. v["Disable"](v)
  43. elseif v["Disconnect"] then
  44. v["Disconnect"](v)
  45. end
  46. end
  47. end
  48. local Folder = Instance.new("Folder")
  49. Folder.Parent = workspace
  50. Folder.Name = "PathFindPartsFolder"
  51. if LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules:FindFirstChild("A90") then
  52. LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules.A90.Name = "lol" -- Fuck you A90
  53. end
  54. function getLocker()
  55. local Closest
  56. for i,v in pairs(workspace.CurrentRooms:GetDescendants()) do
  57. if v.Name == "Rooms_Locker" then
  58. if v:FindFirstChild("Door") and v:FindFirstChild("HiddenPlayer") then
  59. if v.HiddenPlayer.Value == nil then
  60. if v.Door.Position.Y > -3 then -- Prevents going to the lower lockers in the room with the bridge
  61. if Closest == nil then
  62. Closest = v.Door
  63. else
  64. if (LocalPlayer.Character.HumanoidRootPart.Position - v.Door.Position).Magnitude < (Closest.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude then
  65. Closest = v.Door
  66. end
  67. end
  68. end
  69. end
  70. end
  71. end
  72. end
  73. return Closest
  74. end
  75. function getPath()
  76. local Part
  77.  
  78. local Entity = workspace:FindFirstChild("A60") or workspace:FindFirstChild("A120")
  79. if Entity and Entity.Main.Position.Y > -4 then
  80. Part = getLocker()
  81. else
  82. Part = workspace.CurrentRooms[LatestRoom.Value].Door.Door
  83. end
  84. return Part
  85. end
  86. LatestRoom:GetPropertyChangedSignal("Value"):Connect(function()
  87. TextLabel.Text = "Room: "..math.clamp(LatestRoom.Value, 1,1000)
  88. if LatestRoom.Value ~= 1000 then
  89. LocalPlayer.DevComputerMovementMode = Enum.DevComputerMovementMode.Scriptable
  90. else
  91. LocalPlayer.DevComputerMovementMode = Enum.DevComputerMovementMode.KeyboardMouse
  92.  
  93. Folder:ClearAllChildren()
  94.  
  95. local Sound = Instance.new("Sound")
  96. Sound.Parent = game.SoundService
  97. Sound.SoundId = "rbxassetid://4590662766"
  98. Sound.Volume = 3
  99. Sound.PlayOnRemove = true
  100. Sound:Destroy()
  101.  
  102. game.StarterGui:SetCore("SendNotification", { Title = "youtube.com/geoduude"; Text = "Thank you for using my script!" })
  103. return
  104. end
  105. end)
  106. game:GetService("RunService").RenderStepped:connect(function()
  107. LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  108. LocalPlayer.Character.Collision.CanCollide = false
  109. LocalPlayer.Character.Collision.Size = Vector3.new(8,LocalPlayer.Character.Collision.Size.Y,8)
  110. LocalPlayer.Character.Humanoid.WalkSpeed = 21
  111. local Path = getPath()
  112.  
  113. local Entity = workspace:FindFirstChild("A60") or workspace:FindFirstChild("A120")
  114. if Entity then
  115. if Path then
  116. if Path.Parent.Name == "Rooms_Locker" then
  117. if Entity.Main.Position.Y > -4 then
  118. if (LocalPlayer.Character.HumanoidRootPart.Position - Path.Position).Magnitude < 2 then
  119. if LocalPlayer.Character.HumanoidRootPart.Anchored == false then
  120. fireproximityprompt(Path.Parent.HidePrompt)
  121. end
  122. end
  123. end
  124. end
  125. end
  126. if Entity.Main.Position.Y < -4 then
  127. if LocalPlayer.Character.HumanoidRootPart.Anchored == true then
  128. LocalPlayer.Character:SetAttribute("Hiding", false)
  129. end
  130. end
  131. else
  132. if LocalPlayer.Character.HumanoidRootPart.Anchored == true then
  133. LocalPlayer.Character:SetAttribute("Hiding", false)
  134. end
  135. end
  136. end)
  137. while true do
  138. local Destination = getPath()
  139. local path = PathfindingService:CreatePath({ WaypointSpacing = 1, AgentRadius = 0.1, AgentCanJump = false })
  140. path:ComputeAsync(LocalPlayer.Character.HumanoidRootPart.Position - Vector3.new(0,3,0), Destination.Position)
  141. local Waypoints = path:GetWaypoints()
  142. if path.Status ~= Enum.PathStatus.NoPath then
  143. Folder:ClearAllChildren()
  144. for _, Waypoint in pairs(Waypoints) do
  145. local part = Instance.new("Part")
  146. part.Size = Vector3.new(1,1,1)
  147. part.Position = Waypoint.Position
  148. part.Shape = "Cylinder"
  149. part.Rotation = Vector3.new(0,0,90)
  150. part.Material = "SmoothPlastic"
  151. part.Anchored = true
  152. part.CanCollide = false
  153. part.Parent = Folder
  154. end
  155. for _, Waypoint in pairs(Waypoints) do
  156. if LocalPlayer.Character.HumanoidRootPart.Anchored == false then
  157. LocalPlayer.Character.Humanoid:MoveTo(Waypoint.Position)
  158. LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  159. end
  160. end
  161. end
  162. end
Add Comment
Please, Sign In to add comment