How i fix this bug about camera falls if Rig playing animation?

How i do fix this buggy??

wait(2.5)
local tweenser = game:GetService("TweenService")
local camera = game.Workspace.CurrentCamera

local function AutoText(object, text)
	for i = 1, #text, 1 do
		object.Value = string.sub(text, 1, i)
		
		
			task.wait(0.05)
		
		
	end
end


local runningscene = false

local player = game.Players.LocalPlayer

game.ReplicatedStorage.StartBoss1.OnClientEvent:Connect(function(plrname)
	local camera = game.Workspace.CurrentCamera
	local boss2 = game.ReplicatedStorage.Boss2
	local animation = script:WaitForChild('AnimationScream')
	local humanoid = boss2.Humanoid
	local dance = humanoid:LoadAnimation(animation)
	boss2.Parent = workspace
	camera.CameraType = Enum.CameraType.Scriptable
	player.Character.HumanoidRootPart.Anchored = true

	local tweenInfo = TweenInfo.new(
		2.5,
		Enum.EasingStyle.Cubic,
		Enum.EasingDirection.Out,
		0

	)

	local tween = tweenser:Create(camera, tweenInfo,{CFrame = game.ReplicatedStorage.Part.CFrame})
	tween:Play()
	AutoText(game.Workspace.ContentModel.Hint, "???: YOU...")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "???: I DARE YOU.")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: IT'S ME C00LKIDD! BAHAHAHA!!")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: I'LL HACK OUR GAME!")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: 3")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: 2")
	wait(1)
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: 1")
	wait(1)
	
	game.ReplicatedStorage.Sky.Parent = game.Lighting
	
	game.Lighting.ColorCorrection.Enabled = true
	
	game.Workspace.ContentModel.Shake.Value = 10
	AutoText(game.Workspace.ContentModel.Hint, "c00lkidd: HACKED!")
	wait(2.5)
	dance:Play() -- this problem buggy!! here!!
	game.Workspace.ContentModel.Hint.Value = "c00lkidd: HAHAHAHAHA... I'LL TAKE TO FIGHT YOU WILL DOWN!"
	
	script.Parent.RobloxGui.BossHP.Visible = true
	
	wait(7.5)
	
	boss2:Remove()
	game.ReplicatedStorage.STARTBOSS:FireServer()
	wait(0.5)
	game.Workspace.ContentModel.Hint.Value = ""
	camera.CameraType = Enum.CameraType.Custom
	player.Character.HumanoidRootPart.Anchored = false
	script.Parent.RobloxGui.BossHP.LocalScript.Enabled = true
	

	local TweenService = game:GetService("TweenService")
	local Humanoid = game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid")
	local HumanoidRootPart = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
	local cas = game:GetService("ContextActionService")


	local mouseHeld = false



	while wait() do





		Humanoid.CameraOffset = Vector3.new(
			0+(math.random(-game.Workspace.ContentModel.Shake.Value,game.Workspace.ContentModel.Shake.Value)/100),
			0+(math.random(-game.Workspace.ContentModel.Shake.Value,game.Workspace.ContentModel.Shake.Value)/100),
			0+(math.random(-game.Workspace.ContentModel.Shake.Value,game.Workspace.ContentModel.Shake.Value)/100)
		)
		


	end
end)

Video Bug:

What happens when you don’t do dance:Play() ?

it fixed but not playing animation.