Bluzune_Scripts

Ready Two Player High School

Apr 1st, 2021 (edited)
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.60 KB | None | 0 0
  1. --my channel: https://www.youtube.com/channel/UCZFN1_TM429c95eSay_LwrQ
  2.  
  3. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  4.  
  5. local LocalPlayer = game:GetService("Players").LocalPlayer
  6. local Character = (LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait())
  7. local HumanoidRootPart = Character.HumanoidRootPart
  8. local Humanoid = Character.Humanoid
  9.  
  10. local InteractionNodes = LocalPlayer.PlayerGui.InteractionNodes
  11. local Locations = {
  12.    LibraryChair = CFrame.new(18.8565884, -22.9999943, -2063.42358, 0.0684752762, -0.00177727675, -0.997651219, -0.000217442561, 0.999998391, -0.00179638271, 0.997652829, 0.000339939608, 0.0684748292),
  13.    ObbyRoomDoor = CFrame.new(-255.275009, -22.9999981, -1916.51172, 0.134302408, -7.48171232e-08, 0.990940392, -6.14924467e-09, 1, 7.63345369e-08, -0.990940392, -1.63454477e-08, 0.134302408)
  14. }
  15.  
  16. local function Goto(Location)
  17.    HumanoidRootPart.CFrame = Location
  18. end
  19.  
  20. Goto(Locations.LibraryChair)
  21.  
  22. wait(4)
  23. local Node = InteractionNodes:FindFirstChild("Node")
  24.  
  25. repeat wait() until Node
  26. for i, v in pairs(getconnections(Node.Frame.CaptureButton.MouseButton1Click)) do
  27.    v:Fire()
  28. end
  29.  
  30. repeat wait() until Humanoid.SeatPart ~= nil
  31. repeat wait() until Workspace:FindFirstChild("Handle")
  32. wait(3)
  33. ReplicatedStorage.Modules.ObjectCode.RobloxHalloweenEvent2020.EventClassroomKey.PickUp:InvokeServer()
  34.  
  35. Humanoid.Sit = false
  36. Goto(Locations.ObbyRoomDoor)
  37.  
  38. wait(1)
  39. Goto(Workspace.RobloxHalloweenEvent2020.Teleporters.ClassroomToObby.TeleportStart.CFrame)
  40.  
  41. wait(5)
  42. Goto(Workspace.RobloxHalloweenEvent2020.Teleporters.PrizeRoomToLibrary.TeleportStart.CFrame)
  43.  
  44.  
Advertisement
Add Comment
Please, Sign In to add comment