function module.alreadPlayingAnim(T,s,b)local k=b.stop or nil local p=b.speed or nil local C=b.resume or nil local Y=b.tim or nil local n=s:GetPlayingAnimationTracks()for s,b in pairs(n)do if k~=nil then if b.Name==T then b:Stop()end end if p~=nil then if b.Name==T then b:AdjustSpeed(p)if C~=nil then task.delay(Y or 1,function()b:AdjustSpeed(1)end)end end end end end

function module.alreadPlayingAnim(name,hum, data)
	local stop = data.stop or nil
	local speed = data.speed or nil
	local resume = data.resume or nil
	local tim = data.tim or nil
	
	local AnimationTracks = hum:GetPlayingAnimationTracks()

	for i, track in pairs (AnimationTracks) do
		if stop~= nil then 
			if track.Name == name then
				track:Stop()
			end
		end
		if speed~= nil then 
			if track.Name == name then
				track:AdjustSpeed(speed)
				
				-- continue?
				if resume ~= nil then
					task.delay(tim or 1, function()
						track:AdjustSpeed(1)
					end)
				end
				
				-- delay?
				
				
			end
		end
	end

end
