There's actually a Property in the Player that you can use to get it. Just use a script to get the player, then use this line of code:
If you don't know how to get the player, it can be done easily from a LocalScript using LocalPlayer, like this:
1 | Player = game.Players.LocalPlayer |
Also, from a server script, you could use a PlayerAdded function like this:
1 | game.Players.PlayerAdded:connect( function (Player) |
There you go. I believe that should sum it up for you. If you have any further problems/questions, please leave a comment below. Hope I helped :P
-Dyler3