Advertisement
suramraja1

REHA

Apr 16th, 2024 (edited)
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.99 KB | None | 0 0
  1. --rh musical used
  2.  
  3. coroutine.wrap(function()
  4.     if game.PlaceId == 1067560271 then -- Class
  5.         repeat task.wait(1) until #game:GetService("Players"):GetPlayers() > 7
  6.         task.wait(100)
  7.         game:GetService("RunService"):Set3dRenderingEnabled(false) -- render
  8.         task.wait(500)
  9.         repeat task.wait(1)
  10.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(22.26, 3.27484, -8.08362)
  11.             task.wait(1)
  12.             fireproximityprompt(game:GetService("Workspace").ClassroomDoor.RightDoor.Hinge.Attachment.ProximityPrompt)
  13.         until game.PlaceId == 23232323
  14.     end
  15. end)()
  16.  
  17. coroutine.wrap(function()
  18.     task.wait(10)
  19.     if game.PlaceId == 735030788 then --Arrival
  20.         game:GetService("Players").LocalPlayer.PlayerGui.StartScreenGui.ClickedPlay:Fire()
  21.         task.wait(60)
  22.         repeat task.wait(1)
  23.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(304.738, 7.55378, -105.053)
  24.             task.wait(1)
  25.             local ohString1 = "Musical Chairs"
  26.             game:GetService("ReplicatedStorage").ClassroomDoorGui:FireServer(ohString1)
  27.         until game.PlaceId == 23232323
  28.     end
  29. end)()
  30.  
  31. coroutine.wrap(function()
  32.     while true do
  33.         for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  34.             if v:IsA("BasePart") and v.CanCollide == true then
  35.                 v.CanCollide = false
  36.             end
  37.         end
  38.             game:GetService("RunService").Stepped:wait()
  39.         end
  40. end)()
  41.  
  42.  
  43. spawn(function()
  44.     local vu = game:GetService("VirtualUser")
  45.     game:GetService("Players").LocalPlayer.Idled:connect(function()
  46.         vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  47.         wait(1)
  48.         vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  49.     end)
  50. end)
  51.  
  52. coroutine.wrap(function()
  53.     while task.wait(1) do
  54.         repeat task.wait(1)
  55.             firesignal(game:GetService("Players").LocalPlayer.PlayerGui.QuestUI.LevelRewardPopUp.Star.CloseButton.MouseButton1Click)
  56.         until game:GetService("Players").LocalPlayer.PlayerGui.QuestUI.LevelRewardPopUp.Visible == false
  57.     end
  58. end)()
  59.  
  60.  
  61. coroutine.wrap(function()
  62.     while task.wait(2) do
  63.         pcall(function()
  64.                 for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  65.                     if  v.Name == "1Chair_Halloween" or v.Name == "1Chair_New" or v.Name == "1Chair" or
  66.                         v.Name == "7Chairs" or v.Name == "7Chair_New" or v.Name == "7Chair_Halloween" or
  67.                         v.Name == "6Chairs" or v.Name == "6Chair_New" or v.Name == "6Chair_Halloween" or
  68.                         v.Name == "5Chairs" or v.Name == "5Chair_New" or v.Name == "5Chair_Halloween" or
  69.                         v.Name == "4Chairs" or v.Name == "4Chair_New" or v.Name == "4Chair_Halloween" or
  70.                         v.Name == "3Chairs" or v.Name == "3Chair_New" or v.Name == "3Chair_Halloween" or
  71.                         v.Name == "2Chairs" or v.Name == "2Chair_New" or v.Name == "2Chair_Halloween" or
  72.                         v.Name == "8Chairs" or v.Name == "8Chair_New" or v.Name == "8Chair_Halloween" or
  73.                         v.Name == "1ChairsD5no" or v.Name == "2ChairsD5no" or v.Name == "3ChairsD5no" or
  74.                         v.Name == "4ChairsD5no" or v.Name == "5ChairsD5no" or v.Name == "6ChairsD5no" or
  75.                         v.Name == "7ChairsD5no" or v.Name == "8ChairsD5no" or v.Name == "8ChairsD5no" or
  76.                         v.Name == "7ChairsD5no"  then
  77.                         for i,t in pairs(v:GetDescendants()) do
  78.                             if t.ClassName == "Seat" then
  79.                             local hmrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  80.                             local kursi = t
  81.                             hmrp.CFrame = t.CFrame
  82.                             task.wait(0.1)
  83.                         end
  84.                     end
  85.                 end
  86.             end
  87.         end)
  88.     end
  89. end)()
  90.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement