I am so sorry for the one who requested this and for the other few requests!!! They are requested last year and I feel really bad for not thinking of a plot fast enough!!! I'm so sorry!!! I'm also sorry because I don't know much about the descendants.
✂--------------------------No one's pov
(Y/n), a (your personality) girl, was just minding her own business in her world. You know, just, standing out, being different. Hey, it's not her fault that her code's glitched! She's in the undertale universe, glitching in the background of the underground. She cant be noticed that easily so she can only be seen by the observant ones. She made a few friends here. There was undyne, who tried to kill her but later found out that her soul can't be used so she just let her be, alphys, the scientist who tried to find out what's wrong with you. She's also the one who made you and undyne friends when undyne stopped trying to kill you. Then, there was the energetic, skeleton marshmallow/bean/cinna-bun, papyrus. The fellow couldn't help but try to cheer the glitched anomaly up. He found her one day, glitching behind the tall, slender trees of snowdin. She looked sad that day so he did his best to cheer her up. There was also Toriel. She met the motherly goat when she was on the pile of buttercups. She thought that she was a human but when she got a clear look at her, she got worried so she treated her with some butterscotch cinnamon pie and toriel also let (y/n) stay in her house. She was quite the companion. Then, last but not the least, sans. The lazy skeleton became his friend when Papyrus introduced her to him. The small skeleton was curious and he always asked you questions about your life, your back story, etc. etc. You can't really answer most of them, seeing as you don't even remember how or why you came into existence. But one day, something out of the ordinary happened.
Your pov
Sigh... Another day, another question. Why the heck were you like this? Before you can even see what place you were in, a bright, white light blinded your vision. You let out a glitched, corrupted, confused scream. It felt as if your insides were being ripped out, being stabbed, getting burnt, being crushed, then being out back in place yet it also felt like you were being healed somehow. It was confusing you. You should be hurt yet you aren't, but you are but... Agh, it's hard to explain! But it only lasted for a mere millisecond, maybe even less than that. Then you opened your eyes to see that you were in a room...? You looked around. You were on a soft, slily, black and purple bed. The room was painted with similar colors. There was a mirror on one corner, a table on one side, a wardrobe and there was a counter next to the bed you were on. You looked at it.
9:56 am
You stood up, immediately noticing different clothing on your body. Your skin also has a different color. What was going on? You looked in the mirror and screamed. You saw a pale girl with purple hair, green eyes and some sort of clothing with the colors green, black, hot pink and purple. It has some sort of spikes on it. Suddenly, some of the body glitched. The once green eyes turned into (e/c). The purple hair had streaks of (h/c) (if hair is already purple, do another color. Same with the eye color.) The door suddenly opened and in came a woman with some sort of horns...? "MAL! Are you alright? I heard screaming in here!"
"Who's Mal?"
Sans' pov (most of it will be in his pov since I know nothing about the descendants so pretend that you are just trying to figure things out in the descendants world while it's in his pov)
I woke up and stretched. Ah, another day in the loop. Honestly, it got a little more interesting with (y/n) in the mix. She actually gave me hope. That's why my HP is on 1 ½. Not much of an increase but eh, it works. I put my jacket on as I sluggishly went downstairs. "GOOD MORNING BROTHER! I SEE THAT YOUR NOT SLACKING OFF THIS TIME!" My brother, papyrus, greeted. "ah, i guess your kind of influencing me paps." He smiled. "NYEH HEH HEH! OF COURSE!" I spaced out as he rambled on. I wonder where (y/n) is? I guess we have to play hide and seek again. Well, actually, I'll just use alph's cams. I'm too lazy to look in the whole underground. "well paps, I have to go." He looked at me, a little worried. "WITHOUT EATING BREAKFAST?" I nodded. "I'm not that hungry. don't worry, I'll make it up to you later." He smiled. "WELL ALRIGHT! BE CAREFUL!" I nodded as I teleported in front of the lab. The doors immediately opened as I stepped in. "Al? you here?" I heard some scuffling and also some hasty footsteps. The lights turned on as I saw the yellow scientist in front of me. "A-ah! Sans! W-what are you d-doing here?" I looked at the huge monitor. It was switched to a camera in front of the ruins door. Huh, actually, I haven't visited the old lady for quite a while. Wonder how she is? Anyways, I looked back at alphys. "can I use your cameras? just wanna look around for a sec." She nodded. "Y-yep! B-be quick though! A h-human might go t-through the doors!" I went to the gigantic monitor and looked around, switching to different cams.