player:GetSelectedPlayer() and player:GetSelectedUnit() functions