Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coroutine.wrap(function()
- pcall(function()
- if game.PlaceId == 5589810303 then --Rh3Office
- repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
- task.wait(10)
- game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("Lobby")
- end
- if game.PlaceId == 735030788 then --Arrival Lobby
- repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
- task.wait(10)
- game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("RH3Office")
- end
- end)
- end)()
- coroutine.wrap(function() --pathfinder
- while task.wait() do
- pcall(function()
- local PathfindingService = game:GetService("PathfindingService")
- local human = game:GetService("Players").LocalPlayer.Character.Humanoid
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local path = PathfindingService:CreatePath()
- path:ComputeAsync(torso.Position, workspace.CollectibleDiamonds.Part.Position)
- local waypoints = path:GetWaypoints()
- for i, waypoint in pairs(waypoints) do
- if waypoint.Action == Enum.PathWaypointAction.Jump then
- human:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- human:MoveTo(waypoint.Position)
- human.MoveToFinished:Wait(1)
- end
- human:MoveTo(game.Worksape.endingPart.Position)
- end)
- end
- end)()
- coroutine.wrap(function() --- anti sit
- firesignal(game:GetService("Players").LocalPlayer.PlayerGui.HUD.Run.MouseButton1Click) --run mode RH
- while task.wait() do
- if game:GetService("Players").LocalPlayer.Character.Humanoid.Sit == true then
- task.wait()
- game:GetService("Players").LocalPlayer.Character.Humanoid.Sit = false
- end
- end
- end)()
- coroutine.wrap(function()
- while true do
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("BasePart") and v.CanCollide == true then
- v.CanCollide = false
- end
- end
- game:GetService("RunService").Stepped:wait()
- end
- end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement