In order to access the local player instance, we use the GetLocalPlayer method from the RAPI class it return the instance of the player Network_Player
GetLocalPlayer
RAPI
Network_Player
Network_Player player = RAPI.GetLocalPlayer();