Advertisement
suramraja1

REEEGHAA

Apr 24th, 2024 (edited)
878
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.21 KB | None | 0 0
  1. repeat wait() until game:IsLoaded()
  2.  
  3. coroutine.wrap(function()
  4.     pcall(function()
  5.         if game.PlaceId == 5589810303 then --Rh3Office
  6.             repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
  7.             task.wait(5)
  8.             game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("Lobby")
  9.         end
  10.         if game.PlaceId == 735030788 then --Arrival Lobby
  11.             repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
  12.             task.wait(5)
  13.             game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("RH3Office")
  14.         end
  15.     end)
  16. end)()
  17.  
  18. coroutine.wrap(function()
  19.     while task.wait() do
  20.         pcall(function()
  21.             game:GetService("Players").LocalPlayer.PlayerGui.StartScreenGui.ClickedPlay:Fire()
  22.             local hmrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  23.             game.Workspace.Gravity = 0
  24.             getgenv().Speed = 30
  25.             for i,v in pairs(game:GetService("Workspace").CollectibleDiamonds:GetDescendants()) do
  26.             if v:IsA("Part") then
  27.             local PosPart = v.Position
  28.             local Time = (PosPart + Vector3.new(0, 0, 0) - hmrp.Position).Magnitude / getgenv().Speed
  29.             local Info = TweenInfo.new(Time, Enum.EasingStyle.Linear)
  30.                 local Tween = game:GetService("TweenService"):Create(hmrp,Info,{CFrame = CFrame.new(PosPart + Vector3.new(0, 0, 0))})
  31.                 Tween:Play()
  32.                 end
  33.             end
  34.         end)
  35.     end
  36. end)()
  37.  
  38.  
  39. coroutine.wrap(function() --- anti sit
  40.     while task.wait() do
  41.         if game:GetService("Players").LocalPlayer.Character.Humanoid.Sit == true then
  42.             task.wait()
  43.             game:GetService("Players").LocalPlayer.Character.Humanoid.Sit = false
  44.         end
  45.     end
  46. end)()
  47.  
  48. coroutine.wrap(function()
  49.     while true do
  50.         for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  51.             if v:IsA("BasePart") and v.CanCollide == true then
  52.                 v.CanCollide = false
  53.             end
  54.         end
  55.             game:GetService("RunService").Stepped:wait()
  56.         end
  57. end)()
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement