Couldn't find this anywhere.
Just use the property TargetSurface.
1
local
player
=
game:GetService(
"Players"
):GetPlayerFromCharacter(character)
2
mouse
player:GetMouse()
3
print
(mouse.TargetSurface.Name)