first time mom

i had my baby 4 months ago.. and since i brought her home she’s been sleeping in the bed with me especially since my husband works at night. and i just want to know how can i get her to sleep in her pack n play? i’ve tried moving her when she falls asleep in the bed and she instantly wakes up, put her in the pack n play when she’s falling asleep doesn’t go to sleep (left her in the pack n play 2 hours when i tried this) and i just dont know what else to do 🤦🏽‍♀️ can’t swaddle her since she rolls over.. please help, i will try anything at this point