local h=script:FindFirstAncestor("\077\097\105\110\085\073")local n=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\066\114\105\099\107\115")local i=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")return function(h)if not workspace:FindFirstChild("\083\101\101\107\077\111\118\105\110\103",true)then warn("\099\097\110\116 \102\105\110\100 \101\108\101\118\097\116\111\114\033")return end h=require(game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game)local n=(workspace:FindFirstChild("\083\101\101\107\077\111\118\105\110\103",true)).PrimaryPart h.stopcam=true h.freemouse=true h.hideplayers=-1 h.update();(workspace:FindFirstChild("\083\101\101\107\077\111\118\105\110\103",true)).SeekRig.Root.CFrame=workspace.CurrentRooms.Seek.TpSeek.CFrame local o=n:FindFirstChild("\067\097\109\080\111\115\049",true)local c=n:FindFirstChild("\067\097\109\080\111\115\050",true)local O=h.cam.CFrame local l=tick()+1 local L=h.cam.FieldOfView for n=1,100000,1 do task.wait()local c=i:GetValue((1-math.abs(tick()-l))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=l)then break end h.cam.CFrame=O:Lerp(o.WorldCFrame,c)*h.csgo h.cam.FieldOfView=L+(h.fovspring-L)*c end local E=CFrame.new(0,0,0)local s=tick()+2 local x=h.cam.CFrame local R=(n:FindFirstChild("\067\097\109\080\111\115\050",true)).WorldCFrame;(i:Create(h.cam,TweenInfo.new(2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out),{FieldOfView=30})):Play()h.camShaker:ShakeOnce(8,.2,.5,100)local b=o.WorldCFrame local p=c.WorldCFrame local M=tick()+6.25;(i:Create(h.cam,TweenInfo.new(6,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=60})):Play()for n=1,100000,1 do task.wait()if not(tick()<=M)then break end h.cam.CFrame=o.WorldCFrame:Lerp(c.WorldCFrame,i:GetValue((6.25-math.abs(tick()-M))/6.25,Enum.EasingStyle.Exponential,Enum.EasingDirection.InOut))*h.csgo end local U,W,N=(CFrame.new(Vector3.new(0,0,0),n.CFrame.LookVector)):ToOrientation()if math.abs(h.ax-math.deg(W))>180 then h.ax_t=h.ax_t-360 end h.ax_t=math.deg(W)local d=h.cam.CFrame local Y=tick()+1 local G=h.cam.FieldOfView for n=1,100000,1 do task.wait()local o=i:GetValue((1-math.abs(tick()-Y))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=Y)then break end h.cam.CFrame=d:Lerp(h.basecamcf,o)*h.csgo h.cam.FieldOfView=G+(h.fovspring-G)*o end h.stopcam=false h.freemouse=false h.hideplayers=1 h.update()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=game.Workspace.CurrentRooms.Seek.seektrigger.CFrame end
-- Decompiled with the Synapse X Luau decompiler.

local v1 = script:FindFirstAncestor("MainUI")
local l__Bricks__2 = game:GetService("ReplicatedStorage"):WaitForChild("Bricks")
local l__TweenService__1 = game:GetService("TweenService")
return function(p1)
	if not workspace:FindFirstChild("SeekMoving", true) then
		warn("cant find elevator!")
		return
	end
	p1 = require(game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game)
	local l__PrimaryPart__3 = workspace:FindFirstChild("SeekMoving", true).PrimaryPart
	p1.stopcam = true
	p1.freemouse = true
	p1.hideplayers = -1
	p1.update()
	workspace:FindFirstChild("SeekMoving", true).SeekRig.Root.CFrame = workspace.CurrentRooms.Seek.TpSeek.CFrame

	local l__CamPos1__4 = l__PrimaryPart__3:FindFirstChild("CamPos1", true)
	local l__CamPos2__5 = l__PrimaryPart__3:FindFirstChild("CamPos2", true)
	local l__CFrame__6 = p1.cam.CFrame
	local v7 = tick() + 1

	local l__FieldOfView__8 = p1.cam.FieldOfView
	for v9 = 1, 100000 do
		task.wait()
		local v10 = l__TweenService__1:GetValue(
			(1 - math.abs(tick() - v7)) / 1,
			Enum.EasingStyle.Quad,
			Enum.EasingDirection.InOut
		)
		if not (tick() <= v7) then
			break
		end
		p1.cam.CFrame = l__CFrame__6:Lerp(l__CamPos1__4.WorldCFrame, v10) * p1.csgo
		p1.cam.FieldOfView = l__FieldOfView__8 + (p1.fovspring - l__FieldOfView__8) * v10
	end
	local v11 = CFrame.new(0, 0, 0)
	local v12 = tick() + 2
	local l__CFrame__13 = p1.cam.CFrame
	local l__WorldCFrame__14 = l__PrimaryPart__3:FindFirstChild("CamPos2", true).WorldCFrame
	l__TweenService__1
		:Create(p1.cam, TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {
			FieldOfView = 30,
		})
		:Play()
	p1.camShaker:ShakeOnce(8, 0.2, 0.5, 100)
	local l__WorldCFrame__15 = l__CamPos1__4.WorldCFrame
	local l__WorldCFrame__16 = l__CamPos2__5.WorldCFrame
	local v17 = tick() + 6.25
	l__TweenService__1
		:Create(p1.cam, TweenInfo.new(6, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
			FieldOfView = 60,
		})
		:Play()
	for v18 = 1, 100000 do
		task.wait()
		if not (tick() <= v17) then
			break
		end
		p1.cam.CFrame = l__CamPos1__4.WorldCFrame:Lerp(
			l__CamPos2__5.WorldCFrame,
			(
				l__TweenService__1:GetValue(
					(6.25 - math.abs(tick() - v17)) / 6.25,
					Enum.EasingStyle.Exponential,
					Enum.EasingDirection.InOut
				)
			)
		) * p1.csgo
	end
	local v19, v20, v21 = CFrame.new(Vector3.new(0, 0, 0), l__PrimaryPart__3.CFrame.LookVector):ToOrientation()
	if math.abs(p1.ax - math.deg(v20)) > 180 then
		p1.ax_t = p1.ax_t - 360
	end
	p1.ax_t = math.deg(v20)
	local l__CFrame__22 = p1.cam.CFrame

	local v23 = tick() + 1
	local l__FieldOfView__24 = p1.cam.FieldOfView
	for v25 = 1, 100000 do
		task.wait()
		local v26 = l__TweenService__1:GetValue(
			(1 - math.abs(tick() - v23)) / 1,
			Enum.EasingStyle.Quad,
			Enum.EasingDirection.InOut
		)
		if not (tick() <= v23) then
			break
		end
		p1.cam.CFrame = l__CFrame__22:Lerp(p1.basecamcf, v26) * p1.csgo

		p1.cam.FieldOfView = l__FieldOfView__24 + (p1.fovspring - l__FieldOfView__24) * v26
	end
	p1.stopcam = false
	p1.freemouse = false
	p1.hideplayers = 1
	p1.update()
	game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CurrentRooms.Seek.seektrigger.CFrame
end
