local B=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local a=(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=script:FindFirstAncestor("\077\097\105\110\085\073")return function(N)if not workspace:FindFirstChild("\069\108\101\118\097\116\111\114\067\097\114",true)then warn("\099\097\110\116 \102\105\110\100 \101\108\101\118\097\116\111\114\033")return end local o=workspace:FindFirstChild("\069\108\101\118\097\116\111\114\067\097\114",true)local l=o.Parent N.stopcam=true N.freemouse=true N.hideplayers=-1 local L=CFrame.new(0,0,0)local w=tick()+2 local P=N.cam.CFrame local O=o.Figure.AnimationController:LoadAnimation(o.Figure.Animation)local D=o.AnimationController:LoadAnimation(o.Animation)local Y=(o:FindFirstChild("\067\097\109\080\111\115\049",true)).WorldCFrame local x=o:FindFirstChild("\067\097\109\080\111\115\048",true)local z=o:FindFirstChild("\067\097\109\080\111\115\049",true)local s=o:FindFirstChild("\067\097\109\080\111\115\050",true)local G=o:FindFirstChild("\067\097\109\080\111\115\051",true)local C=o:FindFirstChild("\067\097\109\080\111\115\052",true)local c=o:FindFirstChild("\067\097\109\080\111\115\053",true)local J=o:FindFirstChild("\067\097\109\080\111\115\054",true);(B:Create(N.cam,TweenInfo.new(2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out),{FieldOfView=80})):Play()N.camShaker:ShakeOnce(8,.2,.5,100)for a=1,100000,1 do task.wait()if not(tick()<=w)then break end Y=z.WorldCFrame N.cam.CFrame=P:Lerp(Y,B:GetValue((2-math.abs(tick()-w))/2,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut))*N.csgo end N.cam.CFrame=Y*N.csgo local v=true spawn(function()for B=1,10000000000000,1 do task.wait()N.cam.CFrame=Y*N.csgo if v==false then break end end end);(a:WaitForChild("\067\117\116\115\099\101\110\101\070\111\108\108\111\119\117\112")).OnClientEvent:Wait()v=false script.EndMusic:Play()O:Play(0)D:Play(0)delay(0,function()o.Figure.Head.Growl:Play()wait(.4)O.TimePosition=.4 D.TimePosition=.4 o.Figure.Head.Footstep:Play()N.camShaker:ShakeOnce(2,18,0,.7)wait(.3)o.Figure.Head.Footstep:Play()o.Figure.Head.Hit:Play()N.camShaker:ShakeOnce(3,18,0,.7)wait(1)o.Figure.Head.Click:Play()end)local M=z.WorldCFrame local W=s.WorldCFrame local j=tick()+10;(B:Create(N.cam,TweenInfo.new(5,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=60})):Play()N.camShaker:ShakeOnce(2,6,1,1)N.camShaker:ShakeOnce(.1,15,2,30)N.camShaker:ShakeOnce(6,.4,35,10)delay(24.7,function()N.camShaker:ShakeOnce(12,.5,2,2);(B:Create(N.cam,TweenInfo.new(2,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=40})):Play()wait(2)N.camShaker:ShakeOnce(7,8,0,3)N.camShaker:ShakeOnce(3,32,0,1);(B:Create(N.cam,TweenInfo.new(2,Enum.EasingStyle.Quad,Enum.EasingDirection.Out),{FieldOfView=70})):Play()end)for a=1,100000,1 do task.wait()if not(tick()<=j)then break end N.cam.CFrame=x.WorldCFrame:Lerp(z.WorldCFrame,B:GetValue((10-math.abs(tick()-j))/10,Enum.EasingStyle.Exponential,Enum.EasingDirection.InOut))*N.csgo end local d=tick()+10 for B=1,100000,1 do task.wait()if not(tick()<=d)then break end N.cam.CFrame=z.WorldCFrame*N.csgo end local q=tick()+9 for a=1,100000,1 do task.wait()if not(tick()<=q)then break end N.cam.CFrame=z.WorldCFrame:Lerp(s.WorldCFrame,B:GetValue((9-math.abs(tick()-q))/9,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut))*N.csgo end N.cam.FieldOfView=80 local T=tick()+3.5 N.camShaker:ShakeOnce(25,2,0,3.5)for a,R in pairs(o:GetDescendants())do if R.Name=="\080\117\108\108\101\121\067\101\110\116\101\114"or R.Name=="\080\117\108\108\101\121\067\111\114\110\101\114"then local a=math.random(710,770)/100 if R.Name=="\080\117\108\108\101\121\067\101\110\116\101\114"then a=.33 end delay(a,function()R.Transparency=1 N.camShaker:ShakeOnce(1,15,0,.4)for a,R in pairs(R:GetDescendants())do if R.Name=="\083\112\097\114\107"then R:Emit(1)elseif R.Name=="\080\097\114\116\105\099\108\101"then R:Emit(5)R.Enabled=true elseif R:IsA("\083\111\117\110\100")then R:Play()elseif R:IsA("\080\111\105\110\116\076\105\103\104\116")then R.Enabled=true local a={Range=2,Brightness=0;Color=Color3.fromRGB(255,228,147)}local N=B:Create(R,TweenInfo.new(math.random(20,50)/100,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut,50,true),a)N:Play()end end end)elseif R.Name=="\069\108\101\118\097\116\111\114\076\105\103\104\116"and R:IsA("\066\097\115\101\080\097\114\116")then R.Material=Enum.Material.Neon for a,R in pairs(R:GetDescendants())do if R:IsA("\076\105\103\104\116")then(B:Create(R,TweenInfo.new(math.random(20,50)/100,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut,50,true),{Range=2,Brightness=0,Color=Color3.fromRGB(255,228,147)})):Play()end end end end;(B:Create(N.cam,TweenInfo.new(3.5,Enum.EasingStyle.Back,Enum.EasingDirection.InOut),{FieldOfView=40})):Play()delay(2,function()o.Figure.Head.GrowlFar:Play()end)for a=1,100000,1 do task.wait()if not(tick()<=T)then break end N.cam.CFrame=G.WorldCFrame:Lerp(C.WorldCFrame,B:GetValue((3.5-math.abs(tick()-T))/3.5,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut))*N.csgo end N.camShaker:ShakeOnce(35,.2,0,3)N.camShaker:ShakeOnce(3,10,0,3)N.camShaker:ShakeOnce(.4,43,0,20)local Z=tick()+3 N.cam.FieldOfView=80 for a=1,100000,1 do task.wait()local R=B:GetValue((3-math.abs(tick()-Z))/3,Enum.EasingStyle.Quad,Enum.EasingDirection.In)if not(tick()<=Z)then break end N.cam.CFrame=J.WorldCFrame*N.csgo end local I=tick()+2 N.cam.FieldOfView=60;(B:Create(N.cam,TweenInfo.new(1.98,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{FieldOfView=20})):Play()N.camShaker:ShakeOnce(15,1,1,2)N.camShaker:ShakeOnce(8,12,0,2)for B=1,100000,1 do task.wait()if not(tick()<=I)then break end N.cam.CFrame=c.WorldCFrame*N.csgo end local y=tick()+2.5 N.cam.FieldOfView=80 N.camShaker:ShakeOnce(7,32,2,6)N.camShaker:ShakeOnce(7,26,0,6,Vector3.new(0,0,0),Vector3.new(1,2,2))N.camShaker:ShakeOnce(25,1,0,6,Vector3.new(0,0,0),Vector3.new(0,2,2))delay(2.34,function()N.camShaker:ShakeOnce(55,5,.1,6,Vector3.new(0,0,0),Vector3.new(2,2,2))end)for a=1,100000,1 do task.wait()local R=B:GetValue((2.5-math.abs(tick()-y))/2.5,Enum.EasingStyle.Quad,Enum.EasingDirection.In)if not(tick()<=y)then break end N.cam.CFrame=J.WorldCFrame*N.csgo end R.ToBeContinued.Visible=true;(B:Create(R.ToBeContinued.TextLabel,TweenInfo.new(4,Enum.EasingStyle.Quart,Enum.EasingDirection.In),{TextTransparency=1})):Play()wait(4);(B:Create(R.ToBeContinued.ImageLabel,TweenInfo.new(2,Enum.EasingStyle.Quart,Enum.EasingDirection.In),{ImageTransparency=0})):Play()wait(5)pcall(function()N.spectate(true)end);(B:Create(R.ToBeContinued.ImageLabel,TweenInfo.new(1,Enum.EasingStyle.Quart,Enum.EasingDirection.In),{ImageTransparency=1})):Play()end


local l__TweenService__1 = game:GetService("TweenService");
local l__Bricks__2 = game:GetService("ReplicatedStorage"):WaitForChild("Bricks");
local u3 = script:FindFirstAncestor("MainUI");
return function(p1)
	if not workspace:FindFirstChild("ElevatorCar", true) then
		warn("cant find elevator!");
		return;
	end;
	local l__ElevatorCar__1 = workspace:FindFirstChild("ElevatorCar", true);
	local l__Parent__2 = l__ElevatorCar__1.Parent;
	p1.stopcam = true;
	p1.freemouse = true;
	p1.hideplayers = -1;
	local v3 = CFrame.new(0, 0, 0);
	local v4 = tick() + 2;
	local l__CFrame__5 = p1.cam.CFrame;
	local v6 = l__ElevatorCar__1.Figure.AnimationController:LoadAnimation(l__ElevatorCar__1.Figure.Animation);
	local v7 = l__ElevatorCar__1.AnimationController:LoadAnimation(l__ElevatorCar__1.Animation);
	local v8 = l__ElevatorCar__1:FindFirstChild("CamPos1", true).WorldCFrame;
	local l__CamPos0__9 = l__ElevatorCar__1:FindFirstChild("CamPos0", true);
	local l__CamPos1__10 = l__ElevatorCar__1:FindFirstChild("CamPos1", true);
	local l__CamPos2__11 = l__ElevatorCar__1:FindFirstChild("CamPos2", true);
	local l__CamPos3__12 = l__ElevatorCar__1:FindFirstChild("CamPos3", true);
	local l__CamPos4__13 = l__ElevatorCar__1:FindFirstChild("CamPos4", true);
	local l__CamPos5__14 = l__ElevatorCar__1:FindFirstChild("CamPos5", true);
	local l__CamPos6__15 = l__ElevatorCar__1:FindFirstChild("CamPos6", true);
	l__TweenService__1:Create(p1.cam, TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {
		FieldOfView = 80
	}):Play();
	p1.camShaker:ShakeOnce(8, 0.2, 0.5, 100);
	for v16 = 1, 100000 do
		task.wait();
		if not (tick() <= v4) then
			break;
		end;
		v8 = l__CamPos1__10.WorldCFrame;
		p1.cam.CFrame = l__CFrame__5:Lerp(v8, (l__TweenService__1:GetValue((2 - math.abs(tick() - v4)) / 2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut))) * p1.csgo;
	end;
	p1.cam.CFrame = v8 * p1.csgo;
	local u4 = true;
	spawn(function()
		for v17 = 1, 10000000000000 do
			task.wait();
			p1.cam.CFrame = v8 * p1.csgo;
			if u4 == false then
				break;
			end;
		end;
	end);
	l__Bricks__2:WaitForChild("CutsceneFollowup").OnClientEvent:Wait();
	u4 = false;
	script.EndMusic:Play();
	v6:Play(0);
	v7:Play(0);
	delay(0, function()
		l__ElevatorCar__1.Figure.Head.Growl:Play();
		wait(0.4);
		v6.TimePosition = 0.4;
		v7.TimePosition = 0.4;
		l__ElevatorCar__1.Figure.Head.Footstep:Play();
		p1.camShaker:ShakeOnce(2, 18, 0, 0.7);
		wait(0.3);
		l__ElevatorCar__1.Figure.Head.Footstep:Play();
		l__ElevatorCar__1.Figure.Head.Hit:Play();
		p1.camShaker:ShakeOnce(3, 18, 0, 0.7);
		wait(1);
		l__ElevatorCar__1.Figure.Head.Click:Play();
	end);
	local l__WorldCFrame__18 = l__CamPos1__10.WorldCFrame;
	local l__WorldCFrame__19 = l__CamPos2__11.WorldCFrame;
	local v20 = tick() + 10;
	l__TweenService__1:Create(p1.cam, TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
		FieldOfView = 60
	}):Play();
	p1.camShaker:ShakeOnce(2, 6, 1, 1);
	p1.camShaker:ShakeOnce(0.1, 15, 2, 30);
	p1.camShaker:ShakeOnce(6, 0.4, 35, 10);
	delay(24.7, function()
		p1.camShaker:ShakeOnce(12, 0.5, 2, 2);
		l__TweenService__1:Create(p1.cam, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
			FieldOfView = 40
		}):Play();
		wait(2);
		p1.camShaker:ShakeOnce(7, 8, 0, 3);
		p1.camShaker:ShakeOnce(3, 32, 0, 1);
		l__TweenService__1:Create(p1.cam, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
			FieldOfView = 70
		}):Play();
	end);
	for v21 = 1, 100000 do
		task.wait();
		if not (tick() <= v20) then
			break;
		end;
		p1.cam.CFrame = l__CamPos0__9.WorldCFrame:Lerp(l__CamPos1__10.WorldCFrame, (l__TweenService__1:GetValue((10 - math.abs(tick() - v20)) / 10, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut))) * p1.csgo;
	end;
	local v22 = tick() + 10;
	for v23 = 1, 100000 do
		task.wait();
		if not (tick() <= v22) then
			break;
		end;
		p1.cam.CFrame = l__CamPos1__10.WorldCFrame * p1.csgo;
	end;
	local v24 = tick() + 9;
	for v25 = 1, 100000 do
		task.wait();
		if not (tick() <= v24) then
			break;
		end;
		p1.cam.CFrame = l__CamPos1__10.WorldCFrame:Lerp(l__CamPos2__11.WorldCFrame, (l__TweenService__1:GetValue((9 - math.abs(tick() - v24)) / 9, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut))) * p1.csgo;
	end;
	p1.cam.FieldOfView = 80;
	local v26 = tick() + 3.5;
	p1.camShaker:ShakeOnce(25, 2, 0, 3.5);
	for v27, v28 in pairs(l__ElevatorCar__1:GetDescendants()) do
		if v28.Name == "PulleyCenter" or v28.Name == "PulleyCorner" then
			local v29 = math.random(710, 770) / 100;
			if v28.Name == "PulleyCenter" then
				v29 = 0.33;
			end;
			delay(v29, function()
				v28.Transparency = 1;
				p1.camShaker:ShakeOnce(1, 15, 0, 0.4);
				for v30, v31 in pairs(v28:GetDescendants()) do
					if v31.Name == "Spark" then
						v31:Emit(1);
					elseif v31.Name == "Particle" then
						v31:Emit(5);
						v31.Enabled = true;
					elseif v31:IsA("Sound") then
						v31:Play();
					elseif v31:IsA("PointLight") then
						v31.Enabled = true;
						local v32 = {
							Range = 2, 
							Brightness = 0, 
							Color = Color3.fromRGB(255, 228, 147)
						};
						local v33 = l__TweenService__1:Create(v31, TweenInfo.new(math.random(20, 50) / 100, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 50, true), v32);
						v33:Play();
					end;
				end;
			end);
		elseif v28.Name == "ElevatorLight" and v28:IsA("BasePart") then
			v28.Material = Enum.Material.Neon;
			for v34, v35 in pairs(v28:GetDescendants()) do
				if v35:IsA("Light") then
					l__TweenService__1:Create(v35, TweenInfo.new(math.random(20, 50) / 100, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 50, true), {
						Range = 2, 
						Brightness = 0, 
						Color = Color3.fromRGB(255, 228, 147)
					}):Play();
				end;
			end;
		end;
	end;
	l__TweenService__1:Create(p1.cam, TweenInfo.new(3.5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut), {
		FieldOfView = 40
	}):Play();
	delay(2, function()
		l__ElevatorCar__1.Figure.Head.GrowlFar:Play();
	end);
	for v36 = 1, 100000 do
		task.wait();
		if not (tick() <= v26) then
			break;
		end;
		p1.cam.CFrame = l__CamPos3__12.WorldCFrame:Lerp(l__CamPos4__13.WorldCFrame, (l__TweenService__1:GetValue((3.5 - math.abs(tick() - v26)) / 3.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut))) * p1.csgo;
	end;
	p1.camShaker:ShakeOnce(35, 0.2, 0, 3);
	p1.camShaker:ShakeOnce(3, 10, 0, 3);
	p1.camShaker:ShakeOnce(0.4, 43, 0, 20);
	local v37 = tick() + 3;
	p1.cam.FieldOfView = 80;
	for v38 = 1, 100000 do
		task.wait();
		local v39 = l__TweenService__1:GetValue((3 - math.abs(tick() - v37)) / 3, Enum.EasingStyle.Quad, Enum.EasingDirection.In);
		if not (tick() <= v37) then
			break;
		end;
		p1.cam.CFrame = l__CamPos6__15.WorldCFrame * p1.csgo;
	end;
	local v40 = tick() + 2;
	p1.cam.FieldOfView = 60;
	l__TweenService__1:Create(p1.cam, TweenInfo.new(1.98, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
		FieldOfView = 20
	}):Play();
	p1.camShaker:ShakeOnce(15, 1, 1, 2);
	p1.camShaker:ShakeOnce(8, 12, 0, 2);
	for v41 = 1, 100000 do
		task.wait();
		if not (tick() <= v40) then
			break;
		end;
		p1.cam.CFrame = l__CamPos5__14.WorldCFrame * p1.csgo;
	end;
	local v42 = tick() + 2.5;
	p1.cam.FieldOfView = 80;
	p1.camShaker:ShakeOnce(7, 32, 2, 6);
	p1.camShaker:ShakeOnce(7, 26, 0, 6, Vector3.new(0, 0, 0), Vector3.new(1, 2, 2));
	p1.camShaker:ShakeOnce(25, 1, 0, 6, Vector3.new(0, 0, 0), Vector3.new(0, 2, 2));
	delay(2.34, function()
		p1.camShaker:ShakeOnce(55, 5, 0.1, 6, Vector3.new(0, 0, 0), Vector3.new(2, 2, 2));
	end);
	for v43 = 1, 100000 do
		task.wait();
		local v44 = l__TweenService__1:GetValue((2.5 - math.abs(tick() - v42)) / 2.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In);
		if not (tick() <= v42) then
			break;
		end;
		p1.cam.CFrame = l__CamPos6__15.WorldCFrame * p1.csgo;
	end;
	u3.ToBeContinued.Visible = true;
	l__TweenService__1:Create(u3.ToBeContinued.TextLabel, TweenInfo.new(4, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {
		TextTransparency = 1
	}):Play();
	wait(4);
	l__TweenService__1:Create(u3.ToBeContinued.ImageLabel, TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {
		ImageTransparency = 0
	}):Play();
	wait(5);
	pcall(function()
		p1.spectate(true);
	end);
	l__TweenService__1:Create(u3.ToBeContinued.ImageLabel, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {
		ImageTransparency = 1
	}):Play();
end;
