Advertisement
Curvn

dlWAJDLKWAHDLKWAD

Apr 6th, 2021 (edited)
994
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.11 KB | None | 0 0
  1. if not game.Loaded then game.Loaded:Wait() end
  2.  
  3. local Players, UserInputService, TweenService, CoreGui = game:GetService("Players"), game:GetService("UserInputService"), game:GetService("TweenService"), game:GetService("CoreGui")
  4. local UpdateCamera, NewCurrentFocus, MessedWithHats, OverviewCFrame, CurrentFocus = nil, nil, {}, CFrame.new(5526.91846, 93.3602142, -17066.2559), nil
  5.  
  6. local LoadingFrame2 = Instance.new("Frame", CoreGui.RobloxGui)
  7. LoadingFrame2.Name = "LoadingFrame2"
  8. LoadingFrame2.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
  9. LoadingFrame2.BackgroundTransparency = 0
  10. LoadingFrame2.Position = UDim2.new(0, 0, -0.1, 0)
  11. LoadingFrame2.Size = UDim2.new(1, 0, 1.20000005, 0)
  12.  
  13. wait(3.5)
  14. game:GetService("StarterGui"):SetCoreGuiEnabled("All", false)
  15. Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3000, 3000, 3000)
  16. wait(1)
  17. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  18. UserInputService.MouseIconEnabled = false
  19. workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  20. CoreGui.RobloxGui.ResetOnSpawn = false
  21. workspace.CurrentCamera.CFrame = OverviewCFrame
  22. local SayRemote = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  23. if Players.LocalPlayer.Character:FindFirstChild("Right Arm") then Players.LocalPlayer.Character["Right Arm"]:Destroy() end
  24. if Players.LocalPlayer.Character:FindFirstChild("RightUpperArm") then Players.LocalPlayer.Character.RightUpperArm:Destroy() end
  25.  
  26. Players.LocalPlayer.Idled:Connect(function()
  27.     game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  28.     wait()
  29.     game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  30. end)
  31.  
  32. for i,v in pairs(workspace:GetDescendants()) do
  33.     if v:IsA("Tool") or v.Name == "Shirt Graphic" then
  34.         v:Destroy()
  35.     end
  36. end
  37. workspace.DescendantAdded:Connect(function(v)
  38.     if v:IsA("Tool") or v.Name == "Shirt Graphic" then
  39.         wait()
  40.         v:Destroy()
  41.     end
  42. end)
  43.  
  44. spawn(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Curvn/RobloxCamera/main/Main/Game.lua"))() end)
  45. spawn(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Curvn/RobloxCamera/main/Main/TimePlayer.lua"))() end)
  46. spawn(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Curvn/RobloxCamera/main/Main/TimeServer.lua"))() end)
  47. spawn(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Curvn/RobloxCamera/main/Main/Spectate.lua"))() end)
  48. spawn(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Curvn/RobloxCamera/main/Main/Chat.lua"))() end)
  49. wait(1)
  50. CoreGui.RobloxGui:WaitForChild("Spectate"); CoreGui.RobloxGui:WaitForChild("TimePlayer"); CoreGui.RobloxGui:WaitForChild("TimeServer")
  51. local Guis = {Spectate = CoreGui.RobloxGui.Spectate.ScrollComplex.header, TimePlayer = CoreGui.RobloxGui.TimePlayer.ScrollComplex.header, TimeServer = CoreGui.RobloxGui.TimeServer.ScrollComplex.header}
  52. wait(1)
  53. CoreGui.RobloxGui.TimeServer:TweenPosition(UDim2.new(0.92, 0, 0.91, 0), "In", "Quint", 1)
  54. CoreGui.RobloxGui.Game:TweenPosition(UDim2.new(0.92, 0, 0.063, 0), "In", "Quint", 1)
  55. LoadingFrame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "In", "Quint", 2.5)
  56. wait(2.5)
  57.  
  58. function FindNewServer()
  59.     CoreGui.RobloxGui.TimeServer:TweenPosition(UDim2.new(0.92, 0, 1.2, 0), "Out", "Quint", 1)
  60.     CoreGui.RobloxGui.Game:TweenPosition(UDim2.new(0.92, 0, -0.2, 0), "Out", "Quint", 1)
  61.     CoreGui.RobloxGui.TimePlayer:TweenPosition(UDim2.new(0.81, 0, 1.2, 0), "Out", "Quint", 1)
  62.     CoreGui.RobloxGui.Spectate:TweenPosition(UDim2.new(0.5, 0, 1.2, 0), "Out", "Quint", 1)
  63.     wait(1)
  64.     CoreGui.RobloxGui.TimeServer:Destroy(); CoreGui.RobloxGui.Game:Destroy(); CoreGui.RobloxGui.TimePlayer:Destroy(); CoreGui.RobloxGui.Spectate:Destroy()
  65.     LoadingFrame2:TweenPosition(UDim2.new(0, 0, -0.1, 0), "In", "Quint", 2.5)
  66.     wait(2.5)
  67.     local paste = "https://pastebin.com/raw/NgHcM6Rv"
  68.     game:GetService("TeleportService"):SetTeleportGui(LoadingFrame2)
  69.     syn.queue_on_teleport('loadstring(game:HttpGet("'..paste..'"))()')
  70.     for i = 1,100 do
  71.         local GUIDs = {}
  72.         local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100&cursor="))
  73.         for i = 1,100 do
  74.             for i,v in pairs(Http.data) do
  75.                 if v.playing ~= v.maxPlayers then
  76.                     table.insert(GUIDs, {id = v.id, users = v.playing})
  77.                 end
  78.             end
  79.             if Http.nextPageCursor ~= null then Http = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100&cursor="..Http.nextPageCursor)) else break end
  80.         end
  81.         pcall(function() game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, GUIDs[math.random(1, #GUIDs)].id, Players.LocalPlayer) end)
  82.         wait(3)
  83.     end
  84. end
  85.  
  86. local AlreadyWorkedWith = {}
  87. function FindNewPlayer()
  88.     local TempPlayers = {}
  89.     for i,v in pairs(Players:GetPlayers()) do
  90.         if v ~= Players.LocalPlayer and not table.find(AlreadyWorkedWith, v) then
  91.             table.insert(TempPlayers, v)
  92.         end
  93.     end
  94.     if #TempPlayers == 0 then
  95.         AlreadyWorkedWith = {}
  96.         for i,v in pairs(Players:GetPlayers()) do
  97.             if v ~= Players.LocalPlayer then
  98.                 table.insert(TempPlayers, v)
  99.             end
  100.         end
  101.     end
  102.     local Chosen = TempPlayers[math.random(1, #TempPlayers)]
  103.     table.insert(AlreadyWorkedWith, Chosen)
  104.     return Chosen
  105. end
  106.  
  107. spawn(function()
  108.     for i = 0, 5 do
  109.         Guis.TimeServer.Text = tostring(5 - i)
  110.         wait(60)
  111.     end
  112.     FindNewServer()
  113. end)
  114.  
  115. wait(3)
  116. if game.PlaceId == 417267366 then -- dollhouse
  117.     Players.LocalPlayer.PlayerGui.ScreenGui:Destroy()
  118. end
  119.  
  120. if game.PlaceId == 6218169544 then -- korblox and headless hangout
  121.     Players.LocalPlayer.PlayerGui.HDAdminGUIs:Destroy()
  122.     Players.LocalPlayer.PlayerGui.Main:Destroy()
  123. end
  124.  
  125. repeat wait()
  126.     local success, failure = pcall(function()
  127.         if UpdateCamera then UpdateCamera:Disconnect(); UpdateCamera = nil end
  128.         for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
  129.             if v:IsA("BlurEffect") then v:Destroy() end
  130.         end
  131.         for i,v in pairs(MessedWithHats) do
  132.             v.Transparency = 0
  133.         end
  134.         MessedWithHats = {}
  135.         if #Players:GetPlayers() > 5 then
  136.             CurrentFocus = {Player = FindNewPlayer()}
  137.             Guis.Spectate.Text = CurrentFocus.Player.Name
  138.             TweenService:Create(workspace.CurrentCamera, TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0), {CFrame = OverviewCFrame}):Play()
  139.             local Blur = Instance.new("BlurEffect", workspace.CurrentCamera)
  140.             for i = 0, 40 do Blur.Size = Blur.Size + 1 wait() end
  141.             TweenService:Create(workspace.CurrentCamera, TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0), {CFrame = CurrentFocus.Player.Character.Head.CFrame}):Play()
  142.             wait(2)
  143.             spawn(function()
  144.                 for i = 1, 10 do
  145.                     pcall(function()
  146.                         wait(6)
  147.                         SayRemote:FireServer("twitch.tv/robloxcamera. LIVE RN!, WATCHING THIS GAME!! Say hi!", "All")
  148.                     end)
  149.                 end
  150.             end)
  151.             UpdateCamera = game:GetService("RunService").RenderStepped:Connect(function()
  152.                 pcall(function()
  153.                     for i,v in pairs(CurrentFocus.Player.Character:GetChildren()) do
  154.                         if (v:IsA("Accessory") or v:IsA("Hat")) and v:FindFirstChild("Handle") then
  155.                             if v.Handle.Transparency == 1 then continue end
  156.                             table.insert(MessedWithHats, v.Handle)
  157.                             v.Handle.Transparency = 1
  158.                         end
  159.                     end
  160.                     workspace.CurrentCamera.CFrame = CurrentFocus.Player.Character.Head.CFrame
  161.                 end)
  162.                 for i,v in pairs(Players:GetPlayers()) do
  163.                     pcall(function()
  164.                         local Humanoid = v.Character:FindFirstChild("Humanoid")
  165.                         Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.Viewer
  166.                         Humanoid.NameDisplayDistance = 9e9
  167.                     end)
  168.                 end
  169.             end)
  170.             for i = 0, 40 do Blur.Size = Blur.Size - 1 wait() end
  171.             Blur:Destroy()
  172.             CoreGui.RobloxGui.Spectate:TweenPosition(UDim2.new(0.5, 0, 0.96, 0), "In", "Quint", 1)
  173.             CoreGui.RobloxGui.TimePlayer:TweenPosition(UDim2.new(0.81, 0, 0.91, 0), "In", "Quint", 1)
  174.             for i = 0, 59 do
  175.                 Guis.TimePlayer.Text = tostring(60 - i)
  176.                 wait(1)
  177.             end
  178.             CoreGui.RobloxGui.TimePlayer:TweenPosition(UDim2.new(0.81, 0, 1.2, 0), "Out", "Quint", 1)
  179.             CoreGui.RobloxGui.Spectate:TweenPosition(UDim2.new(0.5, 0, 1.2, 0), "Out", "Quint", 1)
  180.             Guis.Spectate.Text = ""
  181.         else
  182.             FindNewServer()
  183.         end
  184.     end)
  185. until nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement