How to make my character appear on a overlay bed sheet?

can we see your full coding, make sure to have your overlay layer number higher for the overlay to be in front of your character.