local T=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 e=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")return function(T)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 T=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 T.stopcam=true T.freemouse=true T.hideplayers=-1 T.update();(workspace:FindFirstChild("\083\101\101\107\077\111\118\105\110\103",true)).SeekRig.Root.CFrame=workspace.CurrentRooms.Seek.TpSeek.CFrame local E=N:FindFirstChild("\067\097\109\080\111\115\049",true)local Z=N:FindFirstChild("\067\097\109\080\111\115\050",true)local G=T.cam.CFrame local l=tick()+1 local J=T.cam.FieldOfView for N=1,100000,1 do task.wait()local Z=e:GetValue((1-math.abs(tick()-l))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=l)then break end T.cam.CFrame=G:Lerp(E.WorldCFrame,Z)*T.csgo T.cam.FieldOfView=J+(T.fovspring-J)*Z end local m=CFrame.new(0,0,0)local o=tick()+2 local k=T.cam.CFrame local O=(N:FindFirstChild("\067\097\109\080\111\115\050",true)).WorldCFrame;(e:Create(T.cam,TweenInfo.new(2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out),{FieldOfView=30})):Play()T.camShaker:ShakeOnce(8,.2,.5,100)local b=E.WorldCFrame local d=Z.WorldCFrame local K=tick()+6.25;(e:Create(T.cam,TweenInfo.new(6,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=60})):Play()for N=1,100000,1 do task.wait()if not(tick()<=K)then break end T.cam.CFrame=E.WorldCFrame:Lerp(Z.WorldCFrame,e:GetValue((6.25-math.abs(tick()-K))/6.25,Enum.EasingStyle.Exponential,Enum.EasingDirection.InOut))*T.csgo end local L,U,q=(CFrame.new(Vector3.new(0,0,0),N.CFrame.LookVector)):ToOrientation()if math.abs(T.ax-math.deg(U))>180 then T.ax_t=T.ax_t-360 end T.ax_t=math.deg(U)local X=T.cam.CFrame local M=tick()+1 local p=T.cam.FieldOfView for N=1,100000,1 do task.wait()local E=e:GetValue((1-math.abs(tick()-M))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=M)then break end T.cam.CFrame=X:Lerp(T.basecamcf,E)*T.csgo T.cam.FieldOfView=p+(T.fovspring-p)*E end T.stopcam=false T.freemouse=false T.hideplayers=1 T.update()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=game.Workspace.CurrentRooms.Seek.seektrigger.CFrame end


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;
