local m=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local M=workspace.Camera function tween(d,X,V)local F=TweenInfo.new(V,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0)M.CameraType=Enum.CameraType.Scriptable M.CFrame=d.CFrame local a=m:Create(M,F,{CFrame=X.CFrame})a:Play()wait(V)M.CameraType=Enum.CameraType.Custom end game.ReplicatedStorage.Cutscene.OnClientEvent:Connect(function()game.Workspace.Test1.Locked=true tween(game.Workspace.Test1,game.Workspace.Test2,1)tween(game.Workspace.Test2,game.Workspace.Test3,10)end)

local TweenService = game:GetService("TweenService")
local camera = workspace.Camera

function tween(part1, part2, cutsceneTime)
	local tweeninfo = TweenInfo.new(
		cutsceneTime,
		Enum.EasingStyle.Sine,
		Enum.EasingDirection.Out,
		0,
		false,
		0
	)
	camera.CameraType = Enum.CameraType.Scriptable
	camera.CFrame = part1.CFrame
	
	local tween = TweenService:Create(camera, tweeninfo, {CFrame = part2.CFrame})
	tween:Play()
	
	wait(cutsceneTime)
	
	camera.CameraType = Enum.CameraType.Custom
end

game.ReplicatedStorage.Cutscene.OnClientEvent:Connect(function()
	game.Workspace.Test1.Locked = true
	tween(game.Workspace.Test1, game.Workspace.Test2, 1)
	tween(game.Workspace.Test2, game.Workspace.Test3, 10)
end)
