local m=script:FindFirstAncestor("\077\097\105\110\085\073")local b=(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 R=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")return function(m)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 local b=(workspace:FindFirstChild("\083\101\101\107\077\111\118\105\110\103",true)).PrimaryPart m.stopcam=true m.freemouse=true m.hideplayers=-1 m.update()local k=b:FindFirstChild("\067\097\109\080\111\115\049",true)local F=b:FindFirstChild("\067\097\109\080\111\115\050",true)local d=m.cam.CFrame local L=tick()+1 local h=m.cam.FieldOfView for b=1,100000,1 do task.wait()local F=R:GetValue((1-math.abs(tick()-L))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=L)then break end m.cam.CFrame=d:Lerp(k.WorldCFrame,F)*m.csgo m.cam.FieldOfView=h+(m.fovspring-h)*F end local p=CFrame.new(0,0,0)local K=tick()+2 local w=m.cam.CFrame local y=(b:FindFirstChild("\067\097\109\080\111\115\050",true)).WorldCFrame;(R:Create(m.cam,TweenInfo.new(2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out),{FieldOfView=30})):Play()m.camShaker:ShakeOnce(8,.2,.5,100)local E=k.WorldCFrame local u=F.WorldCFrame local f=tick()+6.25;(R:Create(m.cam,TweenInfo.new(6,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=60})):Play()for b=1,100000,1 do task.wait()if not(tick()<=f)then break end m.cam.CFrame=k.WorldCFrame:Lerp(F.WorldCFrame,R:GetValue((6.25-math.abs(tick()-f))/6.25,Enum.EasingStyle.Exponential,Enum.EasingDirection.InOut))*m.csgo end local j,D,e=(CFrame.new(Vector3.new(0,0,0),b.CFrame.LookVector)):ToOrientation()if math.abs(m.ax-math.deg(D))>180 then m.ax_t=m.ax_t-360 end m.ax_t=math.deg(D)local n=m.cam.CFrame local c=tick()+1 local T=m.cam.FieldOfView for b=1,100000,1 do task.wait()local k=R:GetValue((1-math.abs(tick()-c))/1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=c)then break end m.cam.CFrame=n:Lerp(m.basecamcf,k)*m.csgo m.cam.FieldOfView=T+(m.fovspring-T)*k end m.stopcam=false m.freemouse=false m.hideplayers=1 m.update()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;
	local l__PrimaryPart__3 = workspace:FindFirstChild("SeekMoving", true).PrimaryPart;
	p1.stopcam = true;
	p1.freemouse = true;
	p1.hideplayers = -1;
	p1.update();
	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();
end;
