local d=script:FindFirstAncestor("\077\097\105\110\085\073")local u=(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 x=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")return function(d)local u=workspace:FindFirstChild("\070\105\103\117\114\101\067\097\109\080\111\115",true)d.stopcam=true d.freemouse=true d.hideplayers=2 d.update()local N=u.CamPos1.WorldCFrame local K=u.CamPos2.WorldCFrame local l=d.cam.CFrame local F=tick()+3 local Z=d.cam.FieldOfView;(x:Create(d.cam,TweenInfo.new(3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=60})):Play()for u=1,100000,1 do task.wait()if not(tick()<=F)then break end d.cam.CFrame=l:Lerp(N,x:GetValue((3-math.abs(tick()-F))/3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut))*d.csgo end local G=tick()+5.5;(x:Create(d.cam,TweenInfo.new(7.8,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{FieldOfView=70})):Play()for u=1,100000,1 do task.wait()if not(tick()<=G)then break end d.cam.CFrame=N:Lerp(K,x:GetValue((5.5-math.abs(tick()-G))/5.5,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut))*d.csgo end local O=d.cam.CFrame local H=tick()+.5 local C=d.cam.FieldOfView for u=1,100000,1 do task.wait()local N=x:GetValue((.5-math.abs(tick()-H))/.5,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)if not(tick()<=H)then break end d.cam.CFrame=O:Lerp(d.basecamcf,N)*d.csgo d.cam.FieldOfView=C+(d.fovspring-C)*N end d.stopcam=false d.freemouse=false d.hideplayers=0 d.update()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)
	local l__FigureCamPos__3 = workspace:FindFirstChild("FigureCamPos", true)
	p1.stopcam = true
	p1.freemouse = true
	p1.hideplayers = 2
	p1.update()
	local l__WorldCFrame__4 = l__FigureCamPos__3.CamPos1.WorldCFrame
	local l__WorldCFrame__5 = l__FigureCamPos__3.CamPos2.WorldCFrame
	local l__CFrame__6 = p1.cam.CFrame
	local v7 = tick() + 3
	local l__FieldOfView__8 = p1.cam.FieldOfView
	l__TweenService__1
		:Create(p1.cam, TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
			FieldOfView = 60,
		})
		:Play()
	for v9 = 1, 100000 do
		task.wait()
		if not (tick() <= v7) then
			break
		end
		p1.cam.CFrame = l__CFrame__6:Lerp(
			l__WorldCFrame__4,
			(
				l__TweenService__1:GetValue(
					(3 - math.abs(tick() - v7)) / 3,
					Enum.EasingStyle.Quad,
					Enum.EasingDirection.InOut
				)
			)
		) * p1.csgo
	end
	local v10 = tick() + 5.5
	l__TweenService__1
		:Create(p1.cam, TweenInfo.new(7.8, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
			FieldOfView = 70,
		})
		:Play()
	for v11 = 1, 100000 do
		task.wait()
		if not (tick() <= v10) then
			break
		end
		p1.cam.CFrame = l__WorldCFrame__4:Lerp(
			l__WorldCFrame__5,
			(
				l__TweenService__1:GetValue(
					(5.5 - math.abs(tick() - v10)) / 5.5,
					Enum.EasingStyle.Sine,
					Enum.EasingDirection.InOut
				)
			)
		) * p1.csgo
	end
	local l__CFrame__12 = p1.cam.CFrame
	local v13 = tick() + 0.5
	local l__FieldOfView__14 = p1.cam.FieldOfView
	for v15 = 1, 100000 do
		task.wait()
		local v16 = l__TweenService__1:GetValue(
			(0.5 - math.abs(tick() - v13)) / 0.5,
			Enum.EasingStyle.Quad,
			Enum.EasingDirection.InOut
		)
		if not (tick() <= v13) then
			break
		end
		p1.cam.CFrame = l__CFrame__12:Lerp(p1.basecamcf, v16) * p1.csgo
		p1.cam.FieldOfView = l__FieldOfView__14 + (p1.fovspring - l__FieldOfView__14) * v16
	end
	p1.stopcam = false
	p1.freemouse = false
	p1.hideplayers = 0
	p1.update()
end
