Lol, Barrier Undertale
Thanks to @HoeWasa_Bi, this is their code, I just wanted it in case I wanna use it later