Spawned text position doesn't adapt on wall

Hey guys.
Today I was making a sort of tool gun from gmod and I wanted to add the 3d2d text function.
But when I generate the text on a wall it doesn’t adapt on the surface but just looks at me.

PartText.CFrame = Mouse.Hit.CFrame

How can I make it like the original game and make it adapt to the wall surface?

Thanks y’all.