Advertisement
NoTextForSpeech

naa

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