Multiple tweens delays new tweens

What do you want to achieve?
I want to play multiple (up to 15) Tweens at the same time without delay.
What is the issue?
Delay in the Tweens is caused when too many are played.
What solutions have you tried so far?
I have tried using coroutines, and tried executing from the client instead of the server.

I am currently making a custom animation script for a custom rig. However, I noticed that Roblox automatically delays new Tweens if too many are being played at the same time. The Tweens are being played on the client.

So basically, I want to play 5-10 Tweens at the same time without Roblox delaying new functions.

Please share your code so we can look at it.

Here is the script:
(It was generated by a plugin)

	TweenService = game:GetService("TweenService")
	local Minisched = require(script.Minisched)
	Rig = game.ReplicatedStorage["CustomRigWalkingRigValue"].Value
	game.ReplicatedStorage["CustomRigWalkingPlayingValue"].Changed:Connect(function(Playing)
		if Playing then
			script.Stop.Value = true
			local Animation = coroutine.create(function()
				script.Minisched.Yield.Changed:Connect(function(Property)
					if Property == "Value" and script.Minisched.Yield.Value == true then
						coroutine.yield()
					end
				end)
				while true do
					local Success, Errors = pcall(function()
								
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0.379999995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480773, 0.173648357, 0, -0.173648357, 0.98480773)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.906307876, 0.42261827, 0, -0.42261827, 0.906307876)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619472, -0.0871559083, 0, 0.0871559083, 0.99619472)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619478, 0.0871558934, 0, -0.0871558934, 0.99619478)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, -0.519836783, 0.24240388, 0.57357645, 0.742404163, -0.346188664, 0, 0.42261827, 0.906307876)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"]["forearm.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.906307936, 0.422617942, 0, -0.422617942, 0.906307936)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, 0.53898561, 0.196174681, -0.57357645, 0.76975137, 0.280166537, 0, -0.342020124, 0.939692676)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"]["forearm.R"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692676, 0.342020154, 0, -0.342020154, 0.939692676)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"]["spine.005_end"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925872, -0.258819044, 0, 0.258819044, 0.965925872)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, -8.5438586e-08, 0, 8.5438586e-08, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807849, 0.173648149, 0, -0.173648149, 0.984807849)
					}):Play()
				end)
			end)
				Minisched:Wait(0.1)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.033333335071802, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.033333335071802, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.033333335071802, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.033333335071802, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.033333335071802, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99668479, 0.0813601762, 0, -0.0813601762, 0.99668479)
					}):Play()
				end)
			end)
				Minisched:Wait(0.033333335071802)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.066666670143604, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.066666670143604, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.066666670143604, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.066666670143604, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.066666670143604, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999985516, -0.00540060969, 0, 0.00540060969, 0.999985516)
					}):Play()
				end)
			end)
				Minisched:Wait(0.066666670143604)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.975149393, -0.221548259, 0, 0.221548259, 0.975149393)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.342020452, 0.939692676, 0, -0.939692676, 0.342020452)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.10000000149012, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999851, 0.00172559521, 0, -0.00172559521, 0.99999851)
					}):Play()
				end)
			end)
				Minisched:Wait(0.10000000149012)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.13333334028721, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.13333334028721, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.13333334028721, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.13333334028721, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.13333334028721, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.996927261, -0.0783337727, 0, 0.0783337727, 0.996927261)
					}):Play()
				end)
			end)
				Minisched:Wait(0.13333334028721)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0.379999995, 1, 0, 0, 0, 0.99619472, 0.0871555656, 0, -0.0871555656, 0.99619472)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.917225897, -0.398367554, 0, 0.398367554, 0.917225897)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.979340732, -0.202217475, 0, 0.202217475, 0.979340732)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.988678455, -0.150049657, 0, 0.150049657, 0.988678455)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.996194839, 0.087155737, 0, -0.087155737, 0.996194839)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"]["spine.005_end"], TweenInfo.new(0.16666667163372, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173648, 0.984807789)
					}):Play()
				end)
			end)
				Minisched:Wait(0.16666667163372)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.20000000298023, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.20000000298023, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.20000000298023, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.20000000298023, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.20000000298023, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.991967857, -0.126490206, 0, 0.126490206, 0.991967857)
					}):Play()
				end)
			end)
				Minisched:Wait(0.20000000298023)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.23333333432674, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.23333333432674, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.23333333432674, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.23333333432674, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.23333333432674, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.981946051, -0.189161256, 0, 0.189161256, 0.981946051)
					}):Play()
				end)
			end)
				Minisched:Wait(0.23333333432674)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.735309184, -0.677731752, 0, 0.677731752, 0.735309184)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.537299573, 0.843391597, 0, -0.843391597, 0.537299573)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.979340732, -0.202217773, 0, 0.202217773, 0.979340732)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.33333334326744, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984989345, -0.172615081, 0, 0.172615081, 0.984989345)
					}):Play()
				end)
			end)
				Minisched:Wait(0.33333334326744)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0.379999995, 1, 0, 0, 0, 1, 1.093278e-08, 0, -1.093278e-08, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692616, -0.342020094, 0, 0.342020094, 0.939692616)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.996194839, 0.0871557519, 0, -0.0871557519, 0.996194839)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925932, 0.258818835, 0, -0.258818835, 0.965925932)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619472, 0.0871557221, 0, -0.0871557221, 0.99619472)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"], TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, -0.53898561, -0.196174741, 0.57357645, 0.769751549, 0.280166686, 0, -0.342020154, 0.939692795)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"]["forearm.L"], TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692736, 0.342019796, 0, -0.342019796, 0.939692736)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"], TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, 0.538985729, -0.196174681, -0.57357645, 0.769751906, -0.280166566, 0, 0.342019975, 0.939692855)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"]["forearm.R"], TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173648387, 0, -0.173648387, 0.984807789)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"]["spine.005_end"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, -2.98023224e-08, 0, 2.98023224e-08, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807968, 0.17364803, 0, -0.17364803, 0.984807968)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.906307876, 0.422618091, 0, -0.422618091, 0.906307876)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.996194839, -0.0871555954, 0, 0.0871555954, 0.996194839)
					}):Play()
				end)
			end)
				Minisched:Wait(0.5)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.529919744, 0.848047793, 0, -0.848047793, 0.529919744)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(0.60000002384186, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619472, -0.0871557221, 0, 0.0871557221, 0.99619472)
					}):Play()
				end)
			end)
				Minisched:Wait(0.60000002384186)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0.379999965, 1, 0, 0, 0, 0.99619472, 0.0871555731, 0, -0.0871555731, 0.99619472)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.996194839, 0.0871557146, 0, -0.0871557146, 0.996194839)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"]["spine.005_end"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, -0.17364803, 0, 0.17364803, 0.984807789)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(0.66666668653488, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, -0.173648149, 0, 0.173648149, 0.984807789)
					}):Play()
				end)
			end)
				Minisched:Wait(0.66666668653488)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(0.83333331346512, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(0.83333331346512, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(0.83333331346512, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.7273736, -0.686241925, 0, 0.686241925, 0.7273736)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(0.83333331346512, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.518773615, 0.854912102, 0, -0.854912102, 0.518773615)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(0.83333331346512, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, -0.173648089, 0, 0.173648089, 0.984807789)
					}):Play()
				end)
			end)
				Minisched:Wait(0.83333331346512)
			
					pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0.379999995, 1, 0, 0, 0, 1, -7.4505806e-09, 0, 7.4505806e-09, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480773, 0.173648357, 0, -0.173648357, 0.98480773)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.906307876, 0.42261827, 0, -0.42261827, 0.906307876)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.R"]["shin.R"]["foot.R"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619472, -0.0871559083, 0, 0.0871559083, 0.99619472)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99619478, 0.0871558934, 0, -0.0871558934, 0.99619478)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, -0.519836783, 0.24240388, 0.57357645, 0.742404163, -0.346188664, 0, 0.42261827, 0.906307876)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.L"]["upper_arm.L"]["forearm.L"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.906307936, 0.422617942, 0, -0.422617942, 0.906307936)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 0.819152176, 0.53898561, 0.196174681, -0.57357645, 0.76975137, 0.280166537, 0, -0.342020124, 0.939692676)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["shoulder.R"]["upper_arm.R"]["forearm.R"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692676, 0.342020154, 0, -0.342020154, 0.939692676)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["spine.001"]["spine.002"]["spine.003"]["spine.004"]["spine.005"]["spine.005_end"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, -3.7252903e-08, 0, 3.7252903e-08, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925872, -0.258819044, 0, 0.258819044, 0.965925872)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"], TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, -8.5438586e-08, 0, 8.5438586e-08, 1)
					}):Play()
				end)
			end)
						pcall(function()
				spawn(function()
					TweenService:Create(Rig["CustomRig"]["spine"]["thigh.L"]["shin.L"]["foot.L"], TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
						Transform = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807849, 0.173648149, 0, -0.173648149, 0.984807849)
					}):Play()
				end)
			end)
				Minisched:Wait(1)
	
					end)
					if not Success then
						warn(Errors)
						wait(1)
					end
				end
			end)
			script.Stop.Value = true
				wait(0.01)
				script.Stop.Value = false
				local AnimTask = Minisched:Schedule(Animation, tick() + 0.01)
				script.Stop.Changed:Connect(function(Value)
					if Value == true then
						script.Stop.Value = false
						Minisched:Clear()
					end
				end)
		elseif not Playing then
			script.Stop.Value = true
		end
	end)

This is the plugin’s code:

function ThisParent(TargetParent, TargetString)
	wait(0.01)
	if TargetParent.Parent ~= game then
		TargetString = "[\""..TargetParent.Name.."\"]"..TargetString
		wait(0.01)
		local ReturnedValue = ThisParent(TargetParent.Parent, TargetString)
		return ReturnedValue
	else
		TargetString = TargetParent.Name..TargetString
		--print(TargetString)
		return TargetString
	end
end
function GetPath(Object)
	return ThisParent(Object, "")
end
script.Parent.Activated:Connect(function()
	local Selection = game:GetService("Selection")
	local KeyframeSequence = Selection:Get()[1]
	if KeyframeSequence.ClassName == "KeyframeSequence" then
		local NewScriptSource = [[
		TweenService = game:GetService("TweenService")
		local Minisched = require(script.Minisched)
		Rig = game.ReplicatedStorage["]]..KeyframeSequence.Name..[[ Rig Value"].Value
		game.ReplicatedStorage["]]..KeyframeSequence.Name..[[ Playing Value"].Changed:Connect(function(Playing)
			if Playing then
				script.Stop.Value = true
				local Animation = coroutine.create(function()
					script.Minisched.Yield.Changed:Connect(function(Property)
						if Property == "Value" and script.Minisched.Yield.Value == true then
							coroutine.yield()
						end
					end)
					while true do
						local Success, Errors = pcall(function()
							[*REPLACE*]
						end)
						if not Success then
							warn(Errors)
							wait(1)
						end
					end
				end)
				script.Stop.Value = true
					wait(0.01)
					script.Stop.Value = false
					local AnimTask = Minisched:Schedule(Animation, tick() + 0.01)
					script.Stop.Changed:Connect(function(Value)
						if Value == true then
							script.Stop.Value = false
							Minisched:Clear()
						end
					end)
			elseif not Playing then
				script.Stop.Value = true
			end
		end)
	]]
		local AnimationSource = ""
		local Keyframes = KeyframeSequence:GetChildren()
		table.sort(Keyframes, function(A, B)
			return A.Time < B.Time
		end)
		for Index, AKeyframe in pairs(Keyframes) do
			local KeyframeSource = ""
			for Index2, APose in pairs(AKeyframe:GetDescendants()) do
				--local PosePath = "Rig[\""..tostring(string.gsub(tostring(string.gsub(APose:GetFullName(), AKeyframe:GetFullName()..".", "")), "%.", "\"][\"")).."\"]"
				--print(APose:GetFullName(), AKeyframe:GetFullName())
				--local PrePosePath = tostring(string.gsub(APose:GetFullName(), AKeyframe:GetFullName()..".", ""))
				--print(PrePosePath)
				--print(tostring(string.gsub(PrePosePath, ".", "\"][\"")).."\"]")
				--print(PosePath)
				local PosePath = "Rig"..tostring(string.sub(GetPath(APose), string.len(GetPath(AKeyframe)) + 1, -1))
				--print("APose: "..GetPath(APose).."\nAKeyframe: "..GetPath(AKeyframe))
				--print("Final: Rig"..tostring(string.sub(GetPath(APose), string.len(GetPath(AKeyframe)) + 1, -1)))
				local ID = tostring(Index)..tostring(Index2)
				local TweenLength = AKeyframe.Time
				if AKeyframe.Time == 0 then
					TweenLength = 0.1
				end
				KeyframeSource = KeyframeSource..[[
				pcall(function()
					coroutine.resume(coroutine.create(function()
						TweenService:Create(]]..PosePath..[[, TweenInfo.new(]]..TweenLength..[[, Enum.EasingStyle.]]..tostring(string.gsub(tostring(APose.EasingStyle), "Enum%.PoseEasingStyle%.", ""))..[[, Enum.EasingDirection.]]..tostring(string.gsub(tostring(APose.EasingDirection), "Enum%.PoseEasingDirection%.", ""))..[[), {
							Transform = CFrame.new(]]..tostring(APose.CFrame)..[[)
						}):Play()
					end))
				end)
			]]
			end
			if AKeyframe.Time > 0 then
			KeyframeSource = KeyframeSource..[[
		Minisched:Wait(]]..AKeyframe.Time..[[)
		]]
			else
				KeyframeSource = KeyframeSource..[[
		Minisched:Wait(0.1)
		]]
			end
			AnimationSource = AnimationSource..[[
		
		]]..KeyframeSource
		end
		NewScriptSource = tostring(string.gsub(NewScriptSource, "%[%*REPLACE%*%]", AnimationSource))
		print(NewScriptSource)
		local NewScript = Instance.new("LocalScript")
		NewScript.Source = NewScriptSource
		--local NewEvent = Instance.new("RemoteEvent")
		--NewEvent.Name = KeyframeSequence.Name.." Remote Event"
		--NewEvent.Parent = NewScript
		local NewModule = Instance.new("ModuleScript")
		NewModule.Name = KeyframeSequence.Name
		NewModule.Source = [[
		local Module = {}
		function Module.LoadAnimation(Nil, Rig)
			local NewRigValue = Instance.new("ObjectValue")
			NewRigValue.Name = "]]..KeyframeSequence.Name..[[ Rig Value"
			NewRigValue.Value = Rig
			NewRigValue.Parent = game.ReplicatedStorage
			local NewPlayingValue = Instance.new("BoolValue")
			NewPlayingValue.Name = "]]..KeyframeSequence.Name..[[ Playing Value"
			NewPlayingValue.Value = false
			NewPlayingValue.Parent = game.ReplicatedStorage
			for Index, APlayer in pairs(game.Players:GetChildren()) do
				script["]]..KeyframeSequence.Name..[[ Animation Client"]:Clone().Parent = APlayer.PlayerGui
			end
			game.Players.PlayerAdded:Connect(function(APlayer)
				script["]]..KeyframeSequence.Name..[[ Animation Client"]:Clone().Parent = APlayer.PlayerGui
			end)
			local Functions = {}
			function Functions.Play()
				script.IsPlaying.Value = true
				NewPlayingValue.Value = true
			end
			function Functions.Stop()
				script.IsPlaying.Value = false
				NewPlayingValue.Value = false
			end
			return Functions
		end
		return Module
		]]
		NewModule.Parent = game.ServerScriptService
		local NewUI = Instance.new("ScreenGui")
		NewUI.Name = KeyframeSequence.Name.." Animation Client"
		NewUI.Parent = NewModule
		NewScript.Parent = NewUI
		--local NewWaitFunction = Instance.new("BindableFunction")
		--NewWaitFunction.Name = "Wait"
		--NewWaitFunction.Parent = NewScript
		--local NewStatusValue = Instance.new("BoolValue")
		--NewStatusValue.Name = "AnimationStatus"
		--NewStatusValue.Value = true
		--NewStatusValue.Parent = NewWaitFunction
		--local NewWaitModule = Instance.new("ModuleScript")
		--NewWaitModule.Source = [[
		--function Wait(Time)
		----wait(Time)
		--return "Success"
		--end
		
		--script.Parent.OnInvoke = Wait
		--return "Success"
		--]]
		--NewWaitModule.Parent = NewWaitFunction
		local NewStopValue = Instance.new("BoolValue")
		NewStopValue.Name = "Stop"
		NewStopValue.Value = false
		NewStopValue.Parent = NewScript
		local NewIsPlayingValue = Instance.new("BoolValue")
		NewIsPlayingValue.Name = "IsPlaying"
		NewIsPlayingValue.Value = false
		NewIsPlayingValue.Parent = NewModule
		local MinischedClone = script.Minisched:Clone()
		MinischedClone.Parent = NewScript
		Selection:Set({NewModule})
	end
end)

Please surround code in your posts with three backticks
```
like this
```
so it shows up

like this

Did you write this plugin? Because if not, I’d suggest finding a different one. All the spawns (and probably all the pcalls too) are unnecessary, to start. And its abusing a custom scheduler for some reason.

Considered using the built in animation system for something like this. Read about it here: Using Animations | Documentation - Roblox Creator Hub

I cannot use the built-in animation system because I want to make this usable in other games.

I did write this plugin, and the custom scheduler is so I can unschedule wait functions at any time.