[C#]Failing at moving player along with the moving platforms

I’m trying to move my player along with the platform while using this code but my player moves slower than the platform

#region on trigger stay
	void OnTriggerStay2D(Collider2D coll)
	{
		if(coll.gameObject.tag == "Platform")
		{

			transform.parent = coll.transform;

		}
	}
	#endregion

	#region on trigger exit
	void OnTriggerExit2D(Collider2D coll)
	{
		if(coll.gameObject.tag == "Platform")
		{
			transform.parent = null;
		}
	}
	#endregion

If you need any additional info or code please let me know. Thank you in advance

bump anyone?

I am having the same issue with this 2d game i building